home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: ind.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
100%
| dexvert
| Texinfo Document (document/texInfo)
| magic
| Supported |
1%
| dexvert
| Corel 10 Texture (image/corel10Texture)
| ext
| Unsupported |
1%
| dexvert
| Croteam texture file (image/croteamTextureFile)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| TeX document text
| default
| |
98%
| file
| LaTeX document, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| text/x-matlab
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 44 6f 63 75 6d 65 | 6e 74 20 54 79 70 65 3a |% Docume|nt Type:|
|00000010| 20 4c 61 54 65 58 0a 25 | 20 4d 61 73 74 65 72 20 | LaTeX.%| Master |
|00000020| 46 69 6c 65 3a 20 69 6e | 64 2e 74 65 78 0a 0a 5c |File: in|d.tex..\|
|00000030| 69 6e 70 75 74 7b 69 6e | 64 2b 2e 74 65 78 7d 0a |input{in|d+.tex}.|
|00000040| 0a 5c 74 69 74 6c 65 7b | 49 6e 64 65 78 20 50 72 |.\title{|Index Pr|
|00000050| 65 70 61 72 61 74 69 6f | 6e 20 61 6e 64 20 50 72 |eparatio|n and Pr|
|00000060| 6f 63 65 73 73 69 6e 67 | 5c 74 68 61 6e 6b 73 7b |ocessing|\thanks{|
|00000070| 53 70 6f 6e 73 6f 72 65 | 64 0a 69 6e 20 70 61 72 |Sponsore|d.in par|
|00000080| 74 20 62 79 20 74 68 65 | 20 4e 61 74 69 6f 6e 61 |t by the| Nationa|
|00000090| 6c 20 53 63 69 65 6e 63 | 65 20 46 6f 75 6e 64 61 |l Scienc|e Founda|
|000000a0| 74 69 6f 6e 20 75 6e 64 | 65 72 20 47 72 61 6e 74 |tion und|er Grant|
|000000b0| 20 4d 43 53 2d 38 33 31 | 31 37 38 37 2c 0a 61 6e | MCS-831|1787,.an|
|000000c0| 64 20 62 79 20 74 68 65 | 20 44 65 66 65 6e 73 65 |d by the| Defense|
|000000d0| 20 41 64 76 61 6e 63 65 | 64 20 52 65 73 65 61 72 | Advance|d Resear|
|000000e0| 63 68 20 50 72 6f 6a 65 | 63 74 73 20 41 67 65 6e |ch Proje|cts Agen|
|000000f0| 63 79 20 28 44 6f 44 29 | 2c 0a 41 52 50 41 20 4f |cy (DoD)|,.ARPA O|
|00000100| 72 64 65 72 20 4e 6f 2e | 20 34 38 37 31 2c 20 6d |rder No.| 4871, m|
|00000110| 6f 6e 69 74 6f 72 65 64 | 20 62 79 20 53 70 61 63 |onitored| by Spac|
|00000120| 65 20 61 6e 64 20 4e 61 | 76 61 6c 20 57 61 72 66 |e and Na|val Warf|
|00000130| 61 72 65 20 53 79 73 74 | 65 6d 73 20 43 6f 6d 6d |are Syst|ems Comm|
|00000140| 61 6e 64 2c 0a 75 6e 64 | 65 72 20 43 6f 6e 74 72 |and,.und|er Contr|
|00000150| 61 63 74 20 4e 6f 2e 20 | 4e 30 30 30 33 39 2d 38 |act No. |N00039-8|
|00000160| 34 2d 43 2d 30 30 38 39 | 2e 7d 0a 7d 0a 0a 5c 61 |4-C-0089|.}.}..\a|
|00000170| 75 74 68 6f 72 7b 7b 5c | 73 6c 20 50 65 68 6f 6e |uthor{{\|sl Pehon|
|00000180| 67 20 43 68 65 6e 7d 5c | 74 68 61 6e 6b 73 7b 41 |g Chen}\|thanks{A|
|00000190| 64 64 69 74 69 6f 6e 61 | 6c 20 73 75 70 70 6f 72 |dditiona|l suppor|
|000001a0| 74 20 68 61 73 20 62 65 | 65 6e 20 70 72 6f 76 69 |t has be|en provi|
|000001b0| 64 65 64 0a 62 79 20 61 | 6e 20 49 42 4d 20 47 72 |ded.by a|n IBM Gr|
|000001c0| 61 64 75 61 74 65 20 46 | 65 6c 6c 6f 77 73 68 69 |aduate F|ellowshi|
|000001d0| 70 2e 7d 5c 5c 0a 09 7b | 5c 73 6c 20 4d 69 63 68 |p.}\\..{|\sl Mich|
|000001e0| 61 65 6c 20 41 2e 20 48 | 61 72 72 69 73 6f 6e 7d |ael A. H|arrison}|
|000001f0| 5c 5c 5c 5c 0a 09 43 6f | 6d 70 75 74 65 72 20 53 |\\\\..Co|mputer S|
|00000200| 63 69 65 6e 63 65 20 44 | 69 76 69 73 69 6f 6e 20 |cience D|ivision |
|00000210| 5c 5c 0a 09 55 6e 69 76 | 65 72 73 69 74 79 20 6f |\\..Univ|ersity o|
|00000220| 66 20 43 61 6c 69 66 6f | 72 6e 69 61 20 5c 5c 0a |f Califo|rnia \\.|
|00000230| 09 42 65 72 6b 65 6c 65 | 79 2c 20 43 41 20 39 34 |.Berkele|y, CA 94|
|00000240| 37 32 30 0a 7d 0a 0a 5c | 64 65 66 5c 74 6f 64 61 |720.}..\|def\toda|
|00000250| 79 7b 7d 0a 5c 6d 61 6b | 65 74 69 74 6c 65 0a 0a |y{}.\mak|etitle..|
|00000260| 5c 62 65 67 69 6e 7b 61 | 62 73 74 72 61 63 74 7d |\begin{a|bstract}|
|00000270| 0a 5c 73 69 6e 67 6c 65 | 73 70 61 63 65 0a 49 6e |.\single|space.In|
|00000280| 64 65 78 20 70 72 65 70 | 61 72 61 74 69 6f 6e 20 |dex prep|aration |
|00000290| 69 73 20 61 20 74 65 64 | 69 6f 75 73 20 61 6e 64 |is a ted|ious and|
|000002a0| 20 74 69 6d 65 2d 63 6f | 6e 73 75 6d 69 6e 67 20 | time-co|nsuming |
|000002b0| 74 61 73 6b 2e 0a 54 68 | 69 73 20 70 61 70 65 72 |task..Th|is paper|
|000002c0| 20 69 6e 64 69 63 61 74 | 65 73 20 68 6f 77 20 74 | indicat|es how t|
|000002d0| 68 65 20 69 6e 64 65 78 | 69 6e 67 20 70 72 6f 63 |he index|ing proc|
|000002e0| 65 73 73 20 63 61 6e 20 | 62 65 20 61 75 74 6f 6d |ess can |be autom|
|000002f0| 61 74 65 64 0a 69 6e 20 | 61 20 77 61 79 20 74 68 |ated.in |a way th|
|00000300| 61 74 20 69 73 20 6c 61 | 72 67 65 6c 79 20 69 6e |at is la|rgely in|
|00000310| 64 65 70 65 6e 64 65 6e | 74 20 6f 66 20 61 20 73 |dependen|t of a s|
|00000320| 70 65 63 69 66 69 63 20 | 74 79 70 65 73 65 74 74 |pecific |typesett|
|00000330| 69 6e 67 20 73 79 73 74 | 65 6d 0a 61 6e 64 20 69 |ing syst|em.and i|
|00000340| 6e 64 65 70 65 6e 64 65 | 6e 74 20 6f 66 20 74 68 |ndepende|nt of th|
|00000350| 65 20 66 6f 72 6d 61 74 | 20 62 65 69 6e 67 20 75 |e format| being u|
|00000360| 73 65 64 2e 0a 46 75 6e | 64 61 6d 65 6e 74 61 6c |sed..Fun|damental|
|00000370| 20 69 73 73 75 65 73 20 | 72 65 6c 61 74 65 64 20 | issues |related |
|00000380| 74 6f 20 74 68 69 73 20 | 70 72 6f 63 65 73 73 20 |to this |process |
|00000390| 61 72 65 20 69 64 65 6e | 74 69 66 69 65 64 20 61 |are iden|tified a|
|000003a0| 6e 64 20 61 6e 61 6c 79 | 7a 65 64 2e 0a 53 70 65 |nd analy|zed..Spe|
|000003b0| 63 69 66 69 63 61 6c 6c | 79 2c 20 77 65 20 64 65 |cificall|y, we de|
|000003c0| 76 65 6c 6f 70 20 61 20 | 66 72 61 6d 65 77 6f 72 |velop a |framewor|
|000003d0| 6b 20 66 6f 72 20 70 6c | 61 63 69 6e 67 20 69 6e |k for pl|acing in|
|000003e0| 64 65 78 0a 63 6f 6d 6d | 61 6e 64 73 20 69 6e 20 |dex.comm|ands in |
|000003f0| 74 68 65 20 64 6f 63 75 | 6d 65 6e 74 2e 20 20 49 |the docu|ment. I|
|00000400| 6e 20 61 64 64 69 74 69 | 6f 6e 2c 20 74 68 65 20 |n additi|on, the |
|00000410| 64 65 73 69 67 6e 20 6f | 66 0a 61 20 67 65 6e 65 |design o|f.a gene|
|00000420| 72 61 6c 20 70 75 72 70 | 6f 73 65 20 69 6e 64 65 |ral purp|ose inde|
|00000430| 78 20 70 72 6f 63 65 73 | 73 6f 72 20 74 68 61 74 |x proces|sor that|
|00000440| 20 0a 74 72 61 6e 73 66 | 6f 72 6d 73 20 61 20 72 | .transf|orms a r|
|00000450| 61 77 20 69 6e 64 65 78 | 20 69 6e 74 6f 20 61 6e |aw index| into an|
|00000460| 20 61 6c 70 68 61 62 65 | 74 69 7a 65 64 20 76 65 | alphabe|tized ve|
|00000470| 72 73 69 6f 6e 20 69 73 | 20 64 65 73 63 72 69 62 |rsion is| describ|
|00000480| 65 64 2e 0a 54 68 65 20 | 72 65 73 75 6c 74 69 6e |ed..The |resultin|
|00000490| 67 20 73 79 73 74 65 6d | 20 68 61 73 20 70 72 6f |g system| has pro|
|000004a0| 76 65 64 20 76 65 72 79 | 20 75 73 65 66 75 6c 20 |ved very| useful |
|000004b0| 61 6e 64 20 65 66 66 65 | 63 74 69 76 65 20 69 6e |and effe|ctive in|
|000004c0| 20 70 72 6f 64 75 63 69 | 6e 67 0a 69 6e 64 65 78 | produci|ng.index|
|000004d0| 65 73 20 66 6f 72 20 73 | 65 76 65 72 61 6c 20 62 |es for s|everal b|
|000004e0| 6f 6f 6b 73 2c 20 74 65 | 63 68 6e 69 63 61 6c 20 |ooks, te|chnical |
|000004f0| 72 65 70 6f 72 74 73 2c | 20 61 6e 64 20 6d 61 6e |reports,| and man|
|00000500| 75 61 6c 73 2e 0a 41 20 | 63 6f 6d 70 61 72 69 73 |uals..A |comparis|
|00000510| 6f 6e 20 6f 66 20 6f 75 | 72 20 73 79 73 74 65 6d |on of ou|r system|
|00000520| 20 77 69 74 68 20 69 6e | 64 65 78 69 6e 67 20 66 | with in|dexing f|
|00000530| 61 63 69 6c 69 74 69 65 | 73 0a 61 76 61 69 6c 61 |acilitie|s.availa|
|00000540| 62 6c 65 20 66 72 6f 6d | 20 61 20 76 61 72 69 65 |ble from| a varie|
|00000550| 74 79 20 6f 66 20 6f 74 | 68 65 72 20 64 6f 63 75 |ty of ot|her docu|
|00000560| 6d 65 6e 74 20 70 72 65 | 70 61 72 61 74 69 6f 6e |ment pre|paration|
|00000570| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 73 20 69 73 | environ|ments is|
|00000580| 20 67 69 76 65 6e 2e 0a | 0a 7b 5c 69 74 20 4b 65 | given..|.{\it Ke|
|00000590| 79 77 6f 72 64 73 5c 2f | 7d 3a 20 69 6e 64 65 78 |ywords\/|}: index|
|000005a0| 20 70 6c 61 63 65 6d 65 | 6e 74 2c 20 69 6e 64 65 | placeme|nt, inde|
|000005b0| 78 20 70 72 6f 63 65 73 | 73 69 6e 67 2c 20 73 6f |x proces|sing, so|
|000005c0| 75 72 63 65 2d 6c 61 6e | 67 75 61 67 65 20 6d 6f |urce-lan|guage mo|
|000005d0| 64 65 6c 2c 0a 64 69 72 | 65 63 74 20 6d 61 6e 69 |del,.dir|ect mani|
|000005e0| 70 75 6c 61 74 69 6f 6e | 2e 0a 5c 65 6e 64 7b 61 |pulation|..\end{a|
|000005f0| 62 73 74 72 61 63 74 7d | 0a 0a 5c 73 65 63 74 69 |bstract}|..\secti|
|00000600| 6f 6e 7b 49 6e 74 72 6f | 64 75 63 74 69 6f 6e 7d |on{Intro|duction}|
|00000610| 0a 41 6c 74 68 6f 75 67 | 68 20 74 68 65 72 65 20 |.Althoug|h there |
|00000620| 68 61 73 20 62 65 65 6e | 20 61 20 67 72 65 61 74 |has been| a great|
|00000630| 20 64 65 61 6c 20 6f 66 | 20 61 63 74 69 76 69 74 | deal of| activit|
|00000640| 79 20 69 6e 0a 65 6c 65 | 63 74 72 6f 6e 69 63 20 |y in.ele|ctronic |
|00000650| 70 75 62 6c 69 73 68 69 | 6e 67 7e 5b 31 5d 2c 0a |publishi|ng~[1],.|
|00000660| 74 68 65 72 65 20 61 72 | 65 20 73 74 69 6c 6c 20 |there ar|e still |
|00000670| 61 73 70 65 63 74 73 20 | 6f 66 20 64 6f 63 75 6d |aspects |of docum|
|00000680| 65 6e 74 20 63 6f 6d 70 | 6f 73 69 74 69 6f 6e 20 |ent comp|osition |
|00000690| 74 68 61 74 20 68 61 76 | 65 20 6e 6f 74 20 62 65 |that hav|e not be|
|000006a0| 65 6e 0a 66 75 6c 6c 79 | 20 61 75 74 6f 6d 61 74 |en.fully| automat|
|000006b0| 65 64 2e 0a 4f 6e 65 20 | 6f 66 20 74 68 65 20 6d |ed..One |of the m|
|000006c0| 6f 73 74 20 74 69 6d 65 | 2d 63 6f 6e 73 75 6d 69 |ost time|-consumi|
|000006d0| 6e 67 20 63 6f 6e 63 65 | 72 6e 73 20 69 73 20 74 |ng conce|rns is t|
|000006e0| 68 65 20 70 72 65 70 61 | 72 61 74 69 6f 6e 20 6f |he prepa|ration o|
|000006f0| 66 20 61 6e 20 69 6e 64 | 65 78 2e 0a 49 6e 20 6f |f an ind|ex..In o|
|00000700| 72 64 69 6e 61 72 79 20 | 62 6f 6f 6b 73 2c 20 61 |rdinary |books, a|
|00000710| 6e 20 69 6e 64 65 78 20 | 61 6c 6c 6f 77 73 20 61 |n index |allows a|
|00000720| 20 72 65 61 64 65 72 20 | 74 6f 0a 61 63 63 65 73 | reader |to.acces|
|00000730| 73 20 65 73 73 65 6e 74 | 69 61 6c 20 69 6e 66 6f |s essent|ial info|
|00000740| 72 6d 61 74 69 6f 6e 20 | 65 61 73 69 6c 79 2e 0a |rmation |easily..|
|00000750| 41 20 70 6f 6f 72 20 69 | 6e 64 65 78 20 77 69 74 |A poor i|ndex wit|
|00000760| 68 20 6d 61 6e 79 20 6f | 6d 69 73 73 69 6f 6e 73 |h many o|missions|
|00000770| 20 6f 72 20 70 6f 6f 72 | 6c 79 20 63 68 6f 73 65 | or poor|ly chose|
|00000780| 6e 20 63 6f 6e 63 65 70 | 74 73 0a 64 65 74 72 61 |n concep|ts.detra|
|00000790| 63 74 73 20 66 72 6f 6d | 20 6f 74 68 65 72 20 61 |cts from| other a|
|000007a0| 73 70 65 63 74 73 20 6f | 66 20 74 68 65 20 62 6f |spects o|f the bo|
|000007b0| 6f 6b 2e 0a 46 6f 72 20 | 68 69 67 68 6c 79 20 63 |ok..For |highly c|
|000007c0| 6f 6d 70 6c 65 78 20 74 | 65 63 68 6e 69 63 61 6c |omplex t|echnical|
|000007d0| 20 6d 61 74 65 72 69 61 | 6c 20 74 68 61 74 20 6d | materia|l that m|
|000007e0| 61 79 20 69 6e 63 6c 75 | 64 65 20 63 6f 6d 70 75 |ay inclu|de compu|
|000007f0| 74 65 72 20 70 72 6f 67 | 72 61 6d 73 2c 0a 64 69 |ter prog|rams,.di|
|00000800| 66 66 65 72 65 6e 74 20 | 6b 69 6e 64 73 20 6f 66 |fferent |kinds of|
|00000810| 20 69 6e 64 69 63 65 73 | 20 6d 61 79 0a 72 65 66 | indices| may.ref|
|00000820| 65 72 65 6e 63 65 20 65 | 76 65 6e 20 74 68 65 20 |erence e|ven the |
|00000830| 69 64 65 6e 74 69 66 69 | 65 72 73 20 6f 66 20 61 |identifi|ers of a|
|00000840| 20 70 72 6f 67 72 61 6d | 6d 69 6e 67 20 6c 61 6e | program|ming lan|
|00000850| 67 75 61 67 65 2e 20 20 | 41 20 67 6f 6f 64 20 65 |guage. |A good e|
|00000860| 78 61 6d 70 6c 65 0a 6f | 66 20 61 6e 20 65 6c 61 |xample.o|f an ela|
|00000870| 62 6f 72 61 74 65 20 69 | 6e 64 65 78 69 6e 67 20 |borate i|ndexing |
|00000880| 73 63 68 65 6d 65 20 63 | 61 6e 20 62 65 20 66 6f |scheme c|an be fo|
|00000890| 75 6e 64 20 69 6e 20 4b | 6e 75 74 68 27 73 0a 7b |und in K|nuth's.{|
|000008a0| 5c 69 74 20 7b 5c 54 65 | 58 7d 3a 20 54 68 65 20 |\it {\Te|X}: The |
|000008b0| 50 72 6f 67 72 61 6d 5c | 2f 7d 7e 5b 32 5d 20 61 |Program\|/}~[2] a|
|000008c0| 6e 64 20 68 69 73 20 57 | 45 42 20 73 79 73 74 65 |nd his W|EB syste|
|000008d0| 6d 7e 5b 33 5d 20 69 6e | 20 67 65 6e 65 72 61 6c |m~[3] in| general|
|000008e0| 2e 0a 46 6f 72 20 63 6f | 6d 70 75 74 65 72 20 70 |..For co|mputer p|
|000008f0| 72 6f 67 72 61 6d 73 20 | 6c 69 6b 65 20 74 68 65 |rograms |like the|
|00000900| 73 65 2c 0a 63 6f 6d 70 | 6c 65 74 65 6e 65 73 73 |se,.comp|leteness|
|00000910| 20 69 73 20 65 73 73 65 | 6e 74 69 61 6c 20 61 6e | is esse|ntial an|
|00000920| 64 20 74 68 65 20 61 63 | 63 75 72 61 63 79 20 6f |d the ac|curacy o|
|00000930| 66 0a 74 72 61 64 69 74 | 69 6f 6e 61 6c 20 68 61 |f.tradit|ional ha|
|00000940| 6e 64 20 6d 65 74 68 6f | 64 73 20 77 69 6c 6c 20 |nd metho|ds will |
|00000950| 6e 6f 74 20 73 75 66 66 | 69 63 65 20 66 6f 72 20 |not suff|ice for |
|00000960| 73 6f 66 74 77 61 72 65 | 20 65 6e 67 69 6e 65 65 |software| enginee|
|00000970| 72 69 6e 67 0a 61 70 70 | 6c 69 63 61 74 69 6f 6e |ring.app|lication|
|00000980| 73 2e 0a 0a 53 74 61 6e | 64 61 72 64 20 61 75 74 |s...Stan|dard aut|
|00000990| 68 6f 72 73 27 20 67 75 | 69 64 65 73 2c 20 73 75 |hors' gu|ides, su|
|000009a0| 63 68 20 61 73 20 52 65 | 66 65 72 65 6e 63 65 7e |ch as Re|ference~|
|000009b0| 5b 34 5d 2c 0a 72 65 63 | 6f 6d 6d 65 6e 64 20 74 |[4],.rec|ommend t|
|000009c0| 68 61 74 20 69 6e 64 65 | 78 20 74 65 72 6d 73 20 |hat inde|x terms |
|000009d0| 62 65 20 6d 61 72 6b 65 | 64 20 6f 6e 20 70 61 67 |be marke|d on pag|
|000009e0| 65 20 70 72 6f 6f 66 73 | 20 6f 72 20 6f 6e 20 61 |e proofs| or on a|
|000009f0| 20 73 65 70 61 72 61 74 | 65 20 73 65 74 20 6f 66 | separat|e set of|
|00000a00| 0a 67 61 6c 6c 65 79 20 | 70 72 6f 6f 66 73 2e 0a |.galley |proofs..|
|00000a10| 54 68 65 20 74 72 61 64 | 69 74 69 6f 6e 61 6c 20 |The trad|itional |
|00000a20| 6d 65 74 68 6f 64 20 69 | 73 20 74 6f 20 75 73 65 |method i|s to use|
|00000a30| 20 24 33 20 5c 74 69 6d | 65 73 20 35 24 20 63 61 | $3 \tim|es 5$ ca|
|00000a40| 72 64 73 2c 20 61 70 70 | 72 6f 70 72 69 61 74 65 |rds, app|ropriate|
|00000a50| 6c 79 20 63 61 6c 6c 65 | 64 0a 69 6e 64 65 78 20 |ly calle|d.index |
|00000a60| 63 61 72 64 73 2e 0a 41 | 20 70 61 67 65 20 6e 75 |cards..A| page nu|
|00000a70| 6d 62 65 72 20 69 73 20 | 61 64 64 65 64 20 74 6f |mber is |added to|
|00000a80| 20 61 20 63 61 72 64 20 | 77 68 65 6e 20 61 20 72 | a card |when a r|
|00000a90| 65 66 65 72 65 6e 63 65 | 20 69 73 20 65 6e 63 6f |eference| is enco|
|00000aa0| 75 6e 74 65 72 65 64 2e | 0a 53 6f 72 74 69 6e 67 |untered.|.Sorting|
|00000ab0| 20 69 73 20 64 6f 6e 65 | 20 62 79 20 68 61 6e 64 | is done| by hand|
|00000ac0| 20 61 6e 64 20 74 68 65 | 20 70 72 6f 63 65 73 73 | and the| process|
|00000ad0| 20 69 73 20 74 65 64 69 | 6f 75 73 20 61 6e 64 20 | is tedi|ous and |
|00000ae0| 65 72 72 6f 72 2d 70 72 | 6f 6e 65 2e 0a 43 6f 6d |error-pr|one..Com|
|00000af0| 70 75 74 65 72 73 20 6f | 66 66 65 72 20 61 6e 20 |puters o|ffer an |
|00000b00| 6f 70 70 6f 72 74 75 6e | 69 74 79 20 74 6f 20 73 |opportun|ity to s|
|00000b10| 69 67 6e 69 66 69 63 61 | 6e 74 6c 79 20 72 65 64 |ignifica|ntly red|
|00000b20| 75 63 65 20 74 68 65 20 | 61 6d 6f 75 6e 74 20 6f |uce the |amount o|
|00000b30| 66 20 6c 61 62 6f 72 0a | 69 6e 76 65 73 74 65 64 |f labor.|invested|
|00000b40| 20 69 6e 20 74 68 69 73 | 20 70 72 6f 63 65 73 73 | in this| process|
|00000b50| 20 77 68 69 6c 65 20 6e | 6f 74 69 63 65 61 62 6c | while n|oticeabl|
|00000b60| 79 20 69 6d 70 72 6f 76 | 69 6e 67 20 74 68 65 20 |y improv|ing the |
|00000b70| 71 75 61 6c 69 74 79 20 | 6f 66 20 74 68 65 0a 72 |quality |of the.r|
|00000b80| 65 73 75 6c 74 69 6e 67 | 20 69 6e 64 65 78 2e 0a |esulting| index..|
|00000b90| 0a 54 68 69 73 20 70 61 | 70 65 72 20 69 6e 64 69 |.This pa|per indi|
|00000ba0| 63 61 74 65 73 20 68 6f | 77 20 74 68 65 20 69 6e |cates ho|w the in|
|00000bb0| 64 65 78 69 6e 67 20 70 | 72 6f 63 65 73 73 20 63 |dexing p|rocess c|
|00000bc0| 61 6e 20 62 65 20 61 75 | 74 6f 6d 61 74 65 64 0a |an be au|tomated.|
|00000bd0| 69 6e 20 61 20 77 61 79 | 20 74 68 61 74 20 69 73 |in a way| that is|
|00000be0| 20 6c 61 72 67 65 6c 79 | 20 69 6e 64 65 70 65 6e | largely| indepen|
|00000bf0| 64 65 6e 74 20 6f 66 20 | 61 20 73 70 65 63 69 66 |dent of |a specif|
|00000c00| 69 63 20 74 79 70 65 73 | 65 74 74 69 6e 67 20 73 |ic types|etting s|
|00000c10| 79 73 74 65 6d 0a 61 6e | 64 20 69 6e 64 65 70 65 |ystem.an|d indepe|
|00000c20| 6e 64 65 6e 74 20 6f 66 | 20 74 68 65 20 66 6f 72 |ndent of| the for|
|00000c30| 6d 61 74 20 62 65 69 6e | 67 20 75 73 65 64 2e 0a |mat bein|g used..|
|00000c40| 53 70 65 63 69 66 69 63 | 61 6c 6c 79 2c 20 77 65 |Specific|ally, we|
|00000c50| 20 64 65 76 65 6c 6f 70 | 20 61 20 66 72 61 6d 65 | develop| a frame|
|00000c60| 77 6f 72 6b 20 66 6f 72 | 20 70 6c 61 63 69 6e 67 |work for| placing|
|00000c70| 20 69 6e 64 65 78 0a 63 | 6f 6d 6d 61 6e 64 73 20 | index.c|ommands |
|00000c80| 69 6e 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 2e |in the d|ocument.|
|00000c90| 20 20 49 6e 20 61 64 64 | 69 74 69 6f 6e 2c 20 74 | In add|ition, t|
|00000ca0| 68 65 20 64 65 73 69 67 | 6e 20 6f 66 0a 61 20 67 |he desig|n of.a g|
|00000cb0| 65 6e 65 72 61 6c 20 70 | 75 72 70 6f 73 65 20 69 |eneral p|urpose i|
|00000cc0| 6e 64 65 78 20 70 72 6f | 63 65 73 73 6f 72 20 74 |ndex pro|cessor t|
|00000cd0| 68 61 74 20 0a 74 72 61 | 6e 73 66 6f 72 6d 73 20 |hat .tra|nsforms |
|00000ce0| 61 20 72 61 77 20 69 6e | 64 65 78 20 69 6e 74 6f |a raw in|dex into|
|00000cf0| 20 61 6e 20 61 6c 70 68 | 61 62 65 74 69 7a 65 64 | an alph|abetized|
|00000d00| 20 76 65 72 73 69 6f 6e | 20 69 73 20 64 65 73 63 | version| is desc|
|00000d10| 72 69 62 65 64 2e 0a 54 | 68 65 73 65 20 63 6f 6e |ribed..T|hese con|
|00000d20| 63 65 70 74 73 20 68 61 | 76 65 20 62 65 65 6e 20 |cepts ha|ve been |
|00000d30| 69 6d 70 6c 65 6d 65 6e | 74 65 64 20 61 73 20 70 |implemen|ted as p|
|00000d40| 61 72 74 20 6f 66 20 61 | 6e 20 65 78 74 65 6e 73 |art of a|n extens|
|00000d50| 69 76 65 20 61 75 74 68 | 6f 72 69 6e 67 0a 65 6e |ive auth|oring.en|
|00000d60| 76 69 72 6f 6e 6d 65 6e | 74 7e 5b 35 5d 2e 20 20 |vironmen|t~[5]. |
|00000d70| 54 68 69 73 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |This env|ironment|
|00000d80| 20 69 6e 63 6c 75 64 65 | 73 20 61 20 73 75 69 74 | include|s a suit|
|00000d90| 65 20 6f 66 20 4c 69 73 | 70 20 70 72 6f 67 72 61 |e of Lis|p progra|
|00000da0| 6d 73 0a 66 6f 72 20 74 | 68 65 20 69 6e 64 65 78 |ms.for t|he index|
|00000db0| 20 70 6c 61 63 69 6e 67 | 20 66 61 63 69 6c 69 74 | placing| facilit|
|00000dc0| 79 20 61 6e 64 20 61 20 | 43 20 70 72 6f 67 72 61 |y and a |C progra|
|00000dd0| 6d 20 66 6f 72 20 74 68 | 65 0a 69 6e 64 65 78 20 |m for th|e.index |
|00000de0| 70 72 6f 63 65 73 73 6f | 72 2e 20 20 54 68 65 20 |processo|r. The |
|00000df0| 72 65 73 75 6c 74 69 6e | 67 20 73 79 73 74 65 6d |resultin|g system|
|00000e00| 20 68 61 73 20 62 65 65 | 6e 20 73 75 63 63 65 73 | has bee|n succes|
|00000e10| 73 66 75 6c 6c 79 0a 75 | 73 65 64 20 69 6e 20 70 |sfully.u|sed in p|
|00000e20| 72 6f 64 75 63 69 6e 67 | 20 69 6e 64 65 78 65 73 |roducing| indexes|
|00000e30| 20 66 6f 72 20 73 6f 6d | 65 20 62 6f 6f 6b 73 7e | for som|e books~|
|00000e40| 5b 36 2c 37 5d 0a 61 6e | 64 20 61 20 6e 75 6d 62 |[6,7].an|d a numb|
|00000e50| 65 72 20 6f 66 20 74 65 | 63 68 6e 69 63 61 6c 20 |er of te|chnical |
|00000e60| 72 65 70 6f 72 74 73 20 | 61 6e 64 20 6d 61 6e 75 |reports |and manu|
|00000e70| 61 6c 73 2e 0a 0a 49 6e | 64 65 78 69 6e 67 20 69 |als...In|dexing i|
|00000e80| 73 73 75 65 73 20 75 6e | 64 65 72 20 62 6f 74 68 |ssues un|der both|
|00000e90| 20 7b 5c 69 74 20 73 6f | 75 72 63 65 2d 6c 61 6e | {\it so|urce-lan|
|00000ea0| 67 75 61 67 65 5c 2f 7d | 20 61 6e 64 0a 7b 5c 69 |guage\/}| and.{\i|
|00000eb0| 74 20 64 69 72 65 63 74 | 2d 6d 61 6e 69 70 75 6c |t direct|-manipul|
|00000ec0| 61 74 69 6f 6e 5c 2f 7d | 7e 5b 38 2c 39 5d 20 70 |ation\/}|~[8,9] p|
|00000ed0| 61 72 61 64 69 67 6d 73 | 20 61 72 65 20 63 6f 6e |aradigms| are con|
|00000ee0| 73 69 64 65 72 65 64 2e | 0a 49 6e 20 61 20 73 6f |sidered.|.In a so|
|00000ef0| 75 72 63 65 2d 6c 61 6e | 67 75 61 67 65 20 62 61 |urce-lan|guage ba|
|00000f00| 73 65 64 20 73 79 73 74 | 65 6d 2c 20 74 68 65 20 |sed syst|em, the |
|00000f10| 75 73 65 72 20 73 70 65 | 63 69 66 69 65 73 0a 74 |user spe|cifies.t|
|00000f20| 68 65 20 64 6f 63 75 6d | 65 6e 74 20 77 69 74 68 |he docum|ent with|
|00000f30| 20 69 6e 74 65 72 73 70 | 65 72 73 65 64 20 63 6f | intersp|ersed co|
|00000f40| 6d 6d 61 6e 64 73 2c 20 | 77 68 69 63 68 20 69 73 |mmands, |which is|
|00000f50| 20 74 68 65 6e 20 70 61 | 73 73 65 64 20 74 6f 20 | then pa|ssed to |
|00000f60| 61 20 66 6f 72 6d 61 74 | 74 65 72 2c 0a 61 6e 64 |a format|ter,.and|
|00000f70| 20 74 68 65 20 6f 75 74 | 70 75 74 20 69 73 20 6f | the out|put is o|
|00000f80| 62 74 61 69 6e 65 64 2e | 20 20 54 68 65 20 73 6f |btained.| The so|
|00000f90| 75 72 63 65 2d 6c 61 6e | 67 75 61 67 65 20 75 73 |urce-lan|guage us|
|00000fa0| 75 61 6c 6c 79 20 70 72 | 6f 76 69 64 65 73 20 73 |ually pr|ovides s|
|00000fb0| 6f 6d 65 0a 61 62 73 74 | 72 61 63 74 69 6f 6e 20 |ome.abst|raction |
|00000fc0| 61 6e 64 20 63 6f 6e 74 | 72 6f 6c 20 6d 65 63 68 |and cont|rol mech|
|00000fd0| 61 6e 69 73 6d 73 20 73 | 75 63 68 20 61 73 20 70 |anisms s|uch as p|
|00000fe0| 72 6f 63 65 64 75 72 65 | 73 2c 20 6d 61 63 72 6f |rocedure|s, macro|
|00000ff0| 73 2c 0a 63 6f 6e 64 69 | 74 69 6f 6e 61 6c 73 2c |s,.condi|tionals,|
|00001000| 20 76 61 72 69 61 62 6c | 65 73 2c 20 65 74 63 2e | variabl|es, etc.|
|00001010| 20 69 6e 20 6d 75 63 68 | 20 74 68 65 20 73 61 6d | in much| the sam|
|00001020| 65 20 77 61 79 20 61 73 | 20 61 20 68 69 67 68 2d |e way as| a high-|
|00001030| 6c 65 76 65 6c 20 70 72 | 6f 67 72 61 6d 6d 69 6e |level pr|ogrammin|
|00001040| 67 0a 6c 61 6e 67 75 61 | 67 65 20 64 6f 65 73 2e |g.langua|ge does.|
|00001050| 20 20 49 6e 20 61 20 64 | 69 72 65 63 74 2d 6d 61 | In a d|irect-ma|
|00001060| 6e 69 70 75 6c 61 74 69 | 6f 6e 20 65 6e 76 69 72 |nipulati|on envir|
|00001070| 6f 6e 6d 65 6e 74 2c 0a | 74 68 65 20 75 73 65 72 |onment,.|the user|
|00001080| 20 6d 61 6e 69 70 75 6c | 61 74 65 73 20 74 68 65 | manipul|ates the|
|00001090| 20 64 6f 63 75 6d 65 6e | 74 20 6f 75 74 70 75 74 | documen|t output|
|000010a0| 20 61 70 70 65 61 72 61 | 6e 63 65 20 64 69 72 65 | appeara|nce dire|
|000010b0| 63 74 6c 79 0a 62 79 20 | 69 6e 76 6f 6b 69 6e 67 |ctly.by |invoking|
|000010c0| 20 62 75 69 6c 74 2d 69 | 6e 20 6f 70 65 72 61 74 | built-i|n operat|
|000010d0| 6f 72 73 20 61 76 61 69 | 6c 61 62 6c 65 20 74 68 |ors avai|lable th|
|000010e0| 72 6f 75 67 68 20 6d 65 | 6e 75 73 20 61 6e 64 20 |rough me|nus and |
|000010f0| 62 75 74 74 6f 6e 73 2e | 0a 54 68 65 73 65 20 73 |buttons.|.These s|
|00001100| 79 73 74 65 6d 73 20 61 | 72 65 20 68 69 67 68 6c |ystems a|re highl|
|00001110| 79 20 69 6e 74 65 72 61 | 63 74 69 76 65 3b 20 74 |y intera|ctive; t|
|00001120| 68 65 20 72 65 73 75 6c | 74 20 6f 66 20 69 6e 76 |he resul|t of inv|
|00001130| 6f 6b 69 6e 67 20 61 6e | 20 6f 70 65 72 61 74 69 |oking an| operati|
|00001140| 6f 6e 0a 69 73 20 6f 62 | 73 65 72 76 65 64 20 69 |on.is ob|served i|
|00001150| 6e 73 74 61 6e 74 61 6e | 65 6f 75 73 6c 79 2c 20 |nstantan|eously, |
|00001160| 74 68 65 72 65 62 79 20 | 63 72 65 61 74 69 6e 67 |thereby |creating|
|00001170| 20 61 6e 20 69 6c 6c 75 | 73 69 6f 6e 20 74 68 61 | an illu|sion tha|
|00001180| 74 20 74 68 65 20 75 73 | 65 72 0a 69 73 20 60 60 |t the us|er.is ``|
|00001190| 64 69 72 65 63 74 6c 79 | 27 27 20 6d 61 6e 69 70 |directly|'' manip|
|000011a0| 75 6c 61 74 69 6e 67 20 | 74 68 65 20 75 6e 64 65 |ulating |the unde|
|000011b0| 72 6c 79 69 6e 67 20 6f | 62 6a 65 63 74 2e 0a 0a |rlying o|bject...|
|000011c0| 54 68 65 20 64 6f 63 75 | 6d 65 6e 74 20 61 74 74 |The docu|ment att|
|000011d0| 72 69 62 75 74 65 73 20 | 69 6e 20 64 69 72 65 63 |ributes |in direc|
|000011e0| 74 2d 6d 61 6e 69 70 75 | 6c 61 74 69 6f 6e 20 73 |t-manipu|lation s|
|000011f0| 79 73 74 65 6d 73 0a 61 | 72 65 20 75 73 75 61 6c |ystems.a|re usual|
|00001200| 6c 79 20 73 70 65 63 69 | 66 69 65 64 20 62 79 20 |ly speci|fied by |
|00001210| 61 20 64 65 63 6c 61 72 | 61 74 69 76 65 20 6c 61 |a declar|ative la|
|00001220| 6e 67 75 61 67 65 20 65 | 6e 63 61 70 73 75 6c 61 |nguage e|ncapsula|
|00001230| 74 65 64 20 61 73 0a 66 | 6f 72 6d 2d 62 61 73 65 |ted as.f|orm-base|
|00001240| 64 20 70 72 6f 70 65 72 | 74 79 20 73 68 65 65 74 |d proper|ty sheet|
|00001250| 73 2e 20 20 54 68 65 73 | 65 20 70 72 6f 70 65 72 |s. Thes|e proper|
|00001260| 74 79 20 73 68 65 65 74 | 73 0a 63 6f 72 72 65 73 |ty sheet|s.corres|
|00001270| 70 6f 6e 64 20 74 6f 20 | 74 65 78 74 75 61 6c 20 |pond to |textual |
|00001280| 6d 61 72 6b 75 70 20 74 | 61 67 73 20 74 68 61 74 |markup t|ags that|
|00001290| 20 63 61 6e 20 62 65 20 | 69 6d 70 6f 72 74 65 64 | can be |imported|
|000012a0| 20 74 6f 0a 6f 72 20 65 | 78 70 6f 72 74 65 64 20 | to.or e|xported |
|000012b0| 66 72 6f 6d 20 74 68 65 | 20 64 69 72 65 63 74 2d |from the| direct-|
|000012c0| 6d 61 6e 69 70 75 6c 61 | 74 69 6f 6e 20 73 79 73 |manipula|tion sys|
|000012d0| 74 65 6d 20 66 6f 72 20 | 64 6f 63 75 6d 65 6e 74 |tem for |document|
|000012e0| 20 69 6e 74 65 72 63 68 | 61 6e 67 65 0a 70 75 72 | interch|ange.pur|
|000012f0| 70 6f 73 65 73 2e 20 20 | 57 68 69 6c 65 20 61 20 |poses. |While a |
|00001300| 73 6f 75 72 63 65 20 72 | 65 70 72 65 73 65 6e 74 |source r|epresent|
|00001310| 61 74 69 6f 6e 20 69 73 | 20 6d 61 69 6e 74 61 69 |ation is| maintai|
|00001320| 6e 65 64 20 65 78 70 6c | 69 63 69 74 6c 79 20 69 |ned expl|icitly i|
|00001330| 6e 20 74 68 65 0a 73 6f | 75 72 63 65 2d 6c 61 6e |n the.so|urce-lan|
|00001340| 67 75 61 67 65 20 6d 6f | 64 65 6c 2c 20 74 68 65 |guage mo|del, the|
|00001350| 20 6e 6f 74 69 6f 6e 20 | 6f 66 20 61 20 64 6f 63 | notion |of a doc|
|00001360| 75 6d 65 6e 74 20 73 65 | 6d 61 6e 74 69 63 73 20 |ument se|mantics |
|00001370| 73 70 65 63 69 66 69 63 | 61 74 69 6f 6e 0a 6c 61 |specific|ation.la|
|00001380| 6e 67 75 61 67 65 20 69 | 73 20 73 6f 6d 65 77 68 |nguage i|s somewh|
|00001390| 61 74 20 69 6d 70 6c 69 | 63 69 74 20 69 6e 20 64 |at impli|cit in d|
|000013a0| 69 72 65 63 74 2d 6d 61 | 6e 69 70 75 6c 61 74 69 |irect-ma|nipulati|
|000013b0| 6f 6e 20 73 79 73 74 65 | 6d 73 2e 0a 0a 53 6f 6d |on syste|ms...Som|
|000013c0| 65 20 70 65 6f 70 6c 65 | 20 68 61 76 65 20 63 61 |e people| have ca|
|000013d0| 6c 6c 65 64 20 64 69 72 | 65 63 74 2d 6d 61 6e 69 |lled dir|ect-mani|
|000013e0| 70 75 6c 61 74 69 6f 6e | 20 73 79 73 74 65 6d 73 |pulation| systems|
|000013f0| 20 7b 5c 57 7d 0a 28 7b | 5c 69 74 20 77 68 61 74 | {\W}.({|\it what|
|00001400| 2d 79 6f 75 2d 73 65 65 | 2d 69 73 2d 77 68 61 74 |-you-see|-is-what|
|00001410| 2d 79 6f 75 2d 67 65 74 | 5c 2f 7d 29 2e 0a 54 68 |-you-get|\/})..Th|
|00001420| 65 20 74 77 6f 20 63 6f | 6e 63 65 70 74 73 20 61 |e two co|ncepts a|
|00001430| 72 65 20 6e 6f 74 20 65 | 71 75 69 76 61 6c 65 6e |re not e|quivalen|
|00001440| 74 2c 20 68 6f 77 65 76 | 65 72 2e 0a 7b 5c 57 7d |t, howev|er..{\W}|
|00001450| 20 72 65 66 65 72 73 20 | 74 6f 20 74 68 65 20 63 | refers |to the c|
|00001460| 6f 72 72 65 73 70 6f 6e | 64 65 6e 63 65 20 62 65 |orrespon|dence be|
|00001470| 74 77 65 65 6e 20 77 68 | 61 74 20 69 73 20 70 72 |tween wh|at is pr|
|00001480| 65 73 65 6e 74 65 64 20 | 6f 6e 20 61 20 76 69 64 |esented |on a vid|
|00001490| 65 6f 20 64 69 73 70 6c | 61 79 0a 61 6e 64 20 77 |eo displ|ay.and w|
|000014a0| 68 61 74 20 63 61 6e 20 | 62 65 20 67 65 6e 65 72 |hat can |be gener|
|000014b0| 61 74 65 64 20 6f 6e 20 | 73 6f 6d 65 20 6f 74 68 |ated on |some oth|
|000014c0| 65 72 20 64 65 76 69 63 | 65 2e 20 20 49 6e 20 74 |er devic|e. In t|
|000014d0| 68 65 20 63 6f 6e 74 65 | 78 74 20 6f 66 0a 65 6c |he conte|xt of.el|
|000014e0| 65 63 74 72 6f 6e 69 63 | 20 70 75 62 6c 69 73 68 |ectronic| publish|
|000014f0| 69 6e 67 2c 20 7b 5c 57 | 7d 20 6d 65 61 6e 73 20 |ing, {\W|} means |
|00001500| 74 68 61 74 20 74 68 65 | 72 65 20 69 73 20 61 20 |that the|re is a |
|00001510| 76 65 72 79 20 63 6c 6f | 73 65 20 72 65 6c 61 74 |very clo|se relat|
|00001520| 69 6f 6e 73 68 69 70 0a | 69 6e 20 74 65 72 6d 73 |ionship.|in terms|
|00001530| 20 6f 66 20 64 6f 63 75 | 6d 65 6e 74 20 61 70 70 | of docu|ment app|
|00001540| 65 61 72 61 6e 63 65 0a | 62 65 74 77 65 65 6e 20 |earance.|between |
|00001550| 61 20 73 63 72 65 65 6e | 20 72 65 70 72 65 73 65 |a screen| represe|
|00001560| 6e 74 61 74 69 6f 6e 20 | 61 6e 64 20 74 68 65 20 |ntation |and the |
|00001570| 66 69 6e 61 6c 20 68 61 | 72 64 63 6f 70 79 2e 0a |final ha|rdcopy..|
|00001580| 44 69 72 65 63 74 20 6d | 61 6e 69 70 75 6c 61 74 |Direct m|anipulat|
|00001590| 69 6f 6e 20 69 73 20 61 | 20 6d 6f 72 65 20 67 65 |ion is a| more ge|
|000015a0| 6e 65 72 61 6c 20 63 6f | 6e 63 65 70 74 20 74 68 |neral co|ncept th|
|000015b0| 61 74 20 6d 6f 64 65 6c | 73 20 75 73 65 72 20 69 |at model|s user i|
|000015c0| 6e 74 65 72 66 61 63 65 | 73 2e 0a 41 20 64 69 72 |nterface|s..A dir|
|000015d0| 65 63 74 2d 6d 61 6e 69 | 70 75 6c 61 74 69 6f 6e |ect-mani|pulation|
|000015e0| 20 64 6f 63 75 6d 65 6e | 74 20 70 72 65 70 61 72 | documen|t prepar|
|000015f0| 61 74 69 6f 6e 20 73 79 | 73 74 65 6d 20 6d 61 79 |ation sy|stem may|
|00001600| 20 6e 6f 74 20 68 61 76 | 65 0a 61 20 7b 5c 57 7d | not hav|e.a {\W}|
|00001610| 20 72 65 6c 61 74 69 6f | 6e 73 68 69 70 20 62 65 | relatio|nship be|
|00001620| 74 77 65 65 6e 20 69 74 | 73 20 64 69 73 70 6c 61 |tween it|s displa|
|00001630| 79 20 72 65 70 72 65 73 | 65 6e 74 61 74 69 6f 6e |y repres|entation|
|00001640| 20 61 6e 64 20 74 68 65 | 20 66 69 6e 61 6c 20 68 | and the| final h|
|00001650| 61 72 64 63 6f 70 79 2e | 0a 43 6f 6e 76 65 72 73 |ardcopy.|.Convers|
|00001660| 65 6c 79 2c 20 61 20 62 | 61 74 63 68 2d 6f 72 69 |ely, a b|atch-ori|
|00001670| 65 6e 74 65 64 2c 20 73 | 6f 75 72 63 65 2d 6c 61 |ented, s|ource-la|
|00001680| 6e 67 75 61 67 65 20 62 | 61 73 65 64 20 66 6f 72 |nguage b|ased for|
|00001690| 6d 61 74 74 65 72 20 0a | 6d 61 79 20 62 65 20 63 |matter .|may be c|
|000016a0| 6f 75 70 6c 65 64 20 77 | 69 74 68 20 61 20 70 72 |oupled w|ith a pr|
|000016b0| 65 76 69 65 77 65 72 20 | 74 68 61 74 20 69 73 20 |eviewer |that is |
|000016c0| 7b 5c 57 7d 2e 0a 0a 54 | 68 69 73 20 70 61 70 65 |{\W}...T|his pape|
|000016d0| 72 20 70 72 65 73 65 6e | 74 73 20 73 6f 6d 65 20 |r presen|ts some |
|000016e0| 67 65 6e 65 72 61 6c 20 | 69 6e 64 65 78 69 6e 67 |general |indexing|
|000016f0| 20 70 72 6f 62 6c 65 6d | 73 20 61 6e 64 20 6f 75 | problem|s and ou|
|00001700| 72 20 73 6f 6c 75 74 69 | 6f 6e 73 20 0a 69 6e 20 |r soluti|ons .in |
|00001710| 61 20 74 6f 70 2d 64 6f | 77 6e 20 66 61 73 68 69 |a top-do|wn fashi|
|00001720| 6f 6e 2e 0a 46 69 72 73 | 74 20 77 65 20 64 69 73 |on..Firs|t we dis|
|00001730| 63 75 73 73 20 74 68 65 | 20 64 65 73 69 72 61 62 |cuss the| desirab|
|00001740| 6c 65 20 66 65 61 74 75 | 72 65 73 20 6f 66 20 61 |le featu|res of a|
|00001750| 6e 20 69 6e 64 65 78 20 | 70 72 6f 63 65 73 73 6f |n index |processo|
|00001760| 72 0a 61 6e 64 20 74 68 | 65 6e 20 73 6f 6d 65 20 |r.and th|en some |
|00001770| 64 65 73 69 67 6e 20 61 | 6e 64 20 69 6d 70 6c 65 |design a|nd imple|
|00001780| 6d 65 6e 74 61 74 69 6f | 6e 20 63 6f 6e 73 69 64 |mentatio|n consid|
|00001790| 65 72 61 74 69 6f 6e 73 | 20 66 6f 72 20 73 75 63 |erations| for suc|
|000017a0| 68 20 61 20 70 72 6f 63 | 65 73 73 6f 72 2e 0a 4f |h a proc|essor..O|
|000017b0| 75 72 20 67 6f 61 6c 20 | 69 73 20 74 6f 20 61 72 |ur goal |is to ar|
|000017c0| 72 69 76 65 20 61 74 20 | 67 65 6e 65 72 61 6c 20 |rive at |general |
|000017d0| 70 75 72 70 6f 73 65 20 | 73 6f 6c 75 74 69 6f 6e |purpose |solution|
|000017e0| 73 2e 0a 4e 65 78 74 2c | 20 61 20 66 72 61 6d 65 |s..Next,| a frame|
|000017f0| 77 6f 72 6b 20 69 73 20 | 69 6e 74 72 6f 64 75 63 |work is |introduc|
|00001800| 65 64 20 75 6e 64 65 72 | 20 77 68 69 63 68 20 61 |ed under| which a|
|00001810| 6e 20 61 75 74 68 6f 72 | 20 65 6e 74 65 72 73 20 |n author| enters |
|00001820| 69 6e 64 65 78 20 63 6f | 6d 6d 61 6e 64 73 0a 6f |index co|mmands.o|
|00001830| 72 20 74 61 67 73 20 77 | 69 74 68 20 6d 75 63 68 |r tags w|ith much|
|00001840| 20 72 65 64 75 63 65 64 | 20 6f 76 65 72 68 65 61 | reduced| overhea|
|00001850| 64 2e 0a 54 68 65 20 65 | 78 61 6d 70 6c 65 73 20 |d..The e|xamples |
|00001860| 73 68 6f 77 6e 20 61 72 | 65 20 69 6e 20 7b 5c 4c |shown ar|e in {\L|
|00001870| 61 54 65 58 7d 7e 5b 31 | 30 5d 2c 20 61 20 68 69 |aTeX}~[1|0], a hi|
|00001880| 67 68 2d 6c 65 76 65 6c | 0a 64 6f 63 75 6d 65 6e |gh-level|.documen|
|00001890| 74 20 70 72 65 70 61 72 | 61 74 69 6f 6e 20 6c 61 |t prepar|ation la|
|000018a0| 6e 67 75 61 67 65 20 62 | 61 73 65 64 20 6f 6e 20 |nguage b|ased on |
|000018b0| 7b 5c 54 65 58 7d 7e 5b | 31 31 5d 2e 0a 54 68 65 |{\TeX}~[|11]..The|
|000018c0| 20 6d 6f 64 65 6c 2c 20 | 68 6f 77 65 76 65 72 2c | model, |however,|
|000018d0| 20 69 73 20 6e 6f 74 20 | 72 65 73 74 72 69 63 74 | is not |restrict|
|000018e0| 65 64 20 74 6f 20 61 6e | 79 20 70 61 72 74 69 63 |ed to an|y partic|
|000018f0| 75 6c 61 72 20 66 6f 72 | 6d 61 74 74 69 6e 67 20 |ular for|matting |
|00001900| 6c 61 6e 67 75 61 67 65 | 2c 0a 6e 6f 72 20 74 6f |language|,.nor to|
|00001910| 20 74 68 65 20 73 6f 75 | 72 63 65 2d 6c 61 6e 67 | the sou|rce-lang|
|00001920| 75 61 67 65 20 70 61 72 | 61 64 69 67 6d 2e 0a 57 |uage par|adigm..W|
|00001930| 65 20 61 6c 73 6f 20 65 | 78 61 6d 69 6e 65 20 73 |e also e|xamine s|
|00001940| 6f 6d 65 20 75 6e 69 71 | 75 65 20 69 6e 64 65 78 |ome uniq|ue index|
|00001950| 69 6e 67 20 69 73 73 75 | 65 73 20 69 6e 0a 65 6c |ing issu|es in.el|
|00001960| 65 63 74 72 6f 6e 69 63 | 20 64 6f 63 75 6d 65 6e |ectronic| documen|
|00001970| 74 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 65 6e |t develo|pment en|
|00001980| 76 69 72 6f 6e 6d 65 6e | 74 73 20 74 68 61 74 20 |vironmen|ts that |
|00001990| 64 6f 20 6e 6f 74 20 73 | 65 65 6d 20 74 6f 20 66 |do not s|eem to f|
|000019a0| 69 6e 64 0a 61 70 70 72 | 6f 70 72 69 61 74 65 20 |ind.appr|opriate |
|000019b0| 63 6f 75 6e 74 65 72 70 | 61 72 74 73 20 69 6e 20 |counterp|arts in |
|000019c0| 74 72 61 64 69 74 69 6f | 6e 61 6c 20 70 72 69 6e |traditio|nal prin|
|000019d0| 74 65 64 20 6d 61 74 65 | 72 69 61 6c 2e 0a 46 69 |ted mate|rial..Fi|
|000019e0| 6e 61 6c 6c 79 20 6f 75 | 72 20 69 6e 64 65 78 69 |nally ou|r indexi|
|000019f0| 6e 67 20 66 61 63 69 6c | 69 74 69 65 73 20 61 72 |ng facil|ities ar|
|00001a00| 65 20 65 76 61 6c 75 61 | 74 65 64 20 61 67 61 69 |e evalua|ted agai|
|00001a10| 6e 73 74 20 74 68 6f 73 | 65 20 61 76 61 69 6c 61 |nst thos|e availa|
|00001a20| 62 6c 65 20 69 6e 0a 6f | 74 68 65 72 20 66 6f 72 |ble in.o|ther for|
|00001a30| 6d 61 74 74 69 6e 67 20 | 73 79 73 74 65 6d 73 20 |matting |systems |
|00001a40| 73 75 63 68 20 61 73 20 | 7b 5c 53 42 7d 7e 5b 31 |such as |{\SB}~[1|
|00001a50| 32 5d 2c 0a 7b 5c 54 46 | 7d 7e 5b 31 33 5d 2c 20 |2],.{\TF|}~[13], |
|00001a60| 61 6e 64 20 73 6f 6d 65 | 20 64 69 72 65 63 74 2d |and some| direct-|
|00001a70| 6d 61 6e 69 70 75 6c 61 | 74 69 6f 6e 20 65 6e 76 |manipula|tion env|
|00001a80| 69 72 6f 6e 6d 65 6e 74 | 73 2e 0a 0a 25 5c 6e 65 |ironment|s...%\ne|
|00001a90| 77 70 61 67 65 0a 5c 62 | 65 67 69 6e 7b 66 69 67 |wpage.\b|egin{fig|
|00001aa0| 75 72 65 7d 5b 70 5d 0a | 5c 63 65 6e 74 65 72 6c |ure}[p].|\centerl|
|00001ab0| 69 6e 65 7b 0a 5c 70 73 | 66 69 67 7b 66 69 67 75 |ine{.\ps|fig{figu|
|00001ac0| 72 65 3d 66 69 67 31 2e | 70 73 2c 68 65 69 67 68 |re=fig1.|ps,heigh|
|00001ad0| 74 3d 34 2e 35 69 6e 7d | 0a 7d 0a 5c 63 61 70 74 |t=4.5in}|.}.\capt|
|00001ae0| 69 6f 6e 5b 7b 5c 69 74 | 20 54 68 65 20 73 65 71 |ion[{\it| The seq|
|00001af0| 75 65 6e 74 69 61 6c 20 | 66 6c 6f 77 20 6f 66 20 |uential |flow of |
|00001b00| 69 6e 64 65 78 20 70 72 | 6f 63 65 73 73 69 6e 67 |index pr|ocessing|
|00001b10| 5c 2f 7d 2e 5d 7b 43 69 | 72 63 6c 65 73 0a 69 6e |\/}.]{Ci|rcles.in|
|00001b20| 20 74 68 65 20 70 69 63 | 74 75 72 65 20 72 65 70 | the pic|ture rep|
|00001b30| 72 65 73 65 6e 74 20 70 | 72 6f 63 65 73 73 6f 72 |resent p|rocessor|
|00001b40| 73 2c 0a 73 71 75 61 72 | 65 73 20 61 72 65 20 64 |s,.squar|es are d|
|00001b50| 6f 63 75 6d 65 6e 74 73 | 20 6f 72 20 61 75 78 69 |ocuments| or auxi|
|00001b60| 6c 69 61 72 79 20 66 69 | 6c 65 73 2e 20 20 49 6e |liary fi|les. In|
|00001b70| 20 53 74 65 70 7e 49 2c | 20 74 68 65 20 61 75 74 | Step~I,| the aut|
|00001b80| 68 6f 72 20 75 73 65 73 | 20 61 6e 0a 65 64 69 74 |hor uses| an.edit|
|00001b90| 6f 72 20 74 6f 20 70 6c | 61 63 65 20 69 6e 64 65 |or to pl|ace inde|
|00001ba0| 78 20 63 6f 6d 6d 61 6e | 64 73 20 69 6e 20 74 68 |x comman|ds in th|
|00001bb0| 65 20 64 6f 63 75 6d 65 | 6e 74 2e 20 20 49 6e 20 |e docume|nt. In |
|00001bc0| 53 74 65 70 7e 49 49 2c | 20 61 20 72 61 77 20 69 |Step~II,| a raw i|
|00001bd0| 6e 64 65 78 0a 69 73 20 | 67 65 6e 65 72 61 74 65 |ndex.is |generate|
|00001be0| 64 20 61 73 20 61 20 62 | 79 2d 70 72 6f 64 75 63 |d as a b|y-produc|
|00001bf0| 74 20 6f 66 20 66 6f 72 | 6d 61 74 74 69 6e 67 2e |t of for|matting.|
|00001c00| 20 20 49 6e 20 53 74 65 | 70 7e 49 49 49 2c 20 74 | In Ste|p~III, t|
|00001c10| 68 69 73 20 72 61 77 20 | 69 6e 64 65 78 0a 74 6f |his raw |index.to|
|00001c20| 67 65 74 68 65 72 20 77 | 69 74 68 20 73 6f 6d 65 |gether w|ith some|
|00001c30| 20 6f 70 74 69 6f 6e 61 | 6c 20 73 74 79 6c 65 20 | optiona|l style |
|00001c40| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 72 65 20 |informat|ion are |
|00001c50| 74 61 6b 65 6e 20 61 73 | 20 69 6e 70 75 74 20 74 |taken as| input t|
|00001c60| 6f 0a 74 68 65 20 69 6e | 64 65 78 20 70 72 6f 63 |o.the in|dex proc|
|00001c70| 65 73 73 6f 72 20 61 6e | 64 20 61 6e 20 61 6c 70 |essor an|d an alp|
|00001c80| 68 61 62 65 74 69 7a 65 | 64 20 76 65 72 73 69 6f |habetize|d versio|
|00001c90| 6e 20 69 73 20 63 72 65 | 61 74 65 64 2e 20 0a 46 |n is cre|ated. .F|
|00001ca0| 69 6e 61 6c 6c 79 20 69 | 6e 20 53 74 65 70 7e 49 |inally i|n Step~I|
|00001cb0| 56 2c 20 74 68 65 20 69 | 6e 64 65 78 20 69 73 20 |V, the i|ndex is |
|00001cc0| 66 6f 72 6d 61 74 74 65 | 64 20 74 6f 20 79 69 65 |formatte|d to yie|
|00001cd0| 6c 64 20 74 68 65 20 75 | 6c 74 69 6d 61 74 65 20 |ld the u|ltimate |
|00001ce0| 72 65 73 75 6c 74 2e 7d | 0a 5c 65 6e 64 7b 66 69 |result.}|.\end{fi|
|00001cf0| 67 75 72 65 7d 0a 25 5c | 6e 65 77 70 61 67 65 0a |gure}.%\|newpage.|
|00001d00| 0a 5c 73 65 63 74 69 6f | 6e 7b 42 61 73 69 63 20 |.\sectio|n{Basic |
|00001d10| 54 61 73 6b 73 7d 0a 49 | 6e 64 65 78 20 70 72 65 |Tasks}.I|ndex pre|
|00001d20| 70 61 72 61 74 69 6f 6e | 20 69 73 20 61 20 70 72 |paration| is a pr|
|00001d30| 6f 63 65 73 73 20 69 6e | 76 6f 6c 76 69 6e 67 20 |ocess in|volving |
|00001d40| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 74 |the foll|owing st|
|00001d50| 65 70 73 3a 0a 5c 72 65 | 6e 65 77 63 6f 6d 6d 61 |eps:.\re|newcomma|
|00001d60| 6e 64 7b 5c 6c 61 62 65 | 6c 65 6e 75 6d 69 7d 7b |nd{\labe|lenumi}{|
|00001d70| 5c 52 6f 6d 61 6e 7b 65 | 6e 75 6d 69 7d 2e 7d 20 |\Roman{e|numi}.} |
|00001d80| 20 20 25 20 73 65 74 20 | 74 68 65 20 65 6e 75 6d | % set |the enum|
|00001d90| 65 72 61 74 65 64 20 6c | 69 73 74 20 69 6e 20 72 |erated l|ist in r|
|00001da0| 6f 6d 61 6e 0a 5c 62 65 | 67 69 6e 7b 65 6e 75 6d |oman.\be|gin{enum|
|00001db0| 65 72 61 74 65 7d 0a 20 | 20 5c 69 74 65 6d 20 50 |erate}. | \item P|
|00001dc0| 6c 61 63 69 6e 67 20 69 | 6e 64 65 78 20 63 6f 6d |lacing i|ndex com|
|00001dd0| 6d 61 6e 64 73 20 69 6e | 20 74 68 65 20 64 6f 63 |mands in| the doc|
|00001de0| 75 6d 65 6e 74 20 73 6f | 75 72 63 65 2c 20 77 68 |ument so|urce, wh|
|00001df0| 69 63 68 20 70 72 65 73 | 75 6d 61 62 6c 79 0a 09 |ich pres|umably..|
|00001e00| 63 6f 6d 70 72 69 73 65 | 73 20 6d 75 6c 74 69 70 |comprise|s multip|
|00001e10| 6c 65 20 66 69 6c 65 73 | 2e 20 20 41 6e 20 69 6e |le files|. An in|
|00001e20| 64 65 78 20 63 6f 6d 6d | 61 6e 64 20 74 61 6b 65 |dex comm|and take|
|00001e30| 73 20 61 20 73 69 6e 67 | 6c 65 0a 09 61 72 67 75 |s a sing|le..argu|
|00001e40| 6d 65 6e 74 3a 20 74 68 | 65 20 6b 65 79 20 74 6f |ment: th|e key to|
|00001e50| 20 62 65 20 69 6e 64 65 | 78 65 64 2e 0a 20 20 5c | be inde|xed.. \|
|00001e60| 69 74 65 6d 20 43 72 65 | 61 74 69 6e 67 20 61 20 |item Cre|ating a |
|00001e70| 72 61 77 20 69 6e 64 65 | 78 20 66 69 6c 65 20 77 |raw inde|x file w|
|00001e80| 68 6f 73 65 20 65 6e 74 | 72 69 65 73 20 65 61 63 |hose ent|ries eac|
|00001e90| 68 20 63 6f 6e 73 69 73 | 74 73 0a 09 6f 66 20 74 |h consis|ts..of t|
|00001ea0| 77 6f 20 61 72 67 75 6d | 65 6e 74 73 3a 20 74 68 |wo argum|ents: th|
|00001eb0| 65 20 69 6e 64 65 78 20 | 6b 65 79 20 61 6e 64 20 |e index |key and |
|00001ec0| 74 68 65 20 70 61 67 65 | 20 6f 6e 20 77 68 69 63 |the page| on whic|
|00001ed0| 68 20 74 68 65 20 69 6e | 64 65 78 0a 09 63 6f 6d |h the in|dex..com|
|00001ee0| 6d 61 6e 64 20 61 70 70 | 65 61 72 73 2e 0a 20 20 |mand app|ears.. |
|00001ef0| 5c 69 74 65 6d 20 50 72 | 6f 63 65 73 73 69 6e 67 |\item Pr|ocessing|
|00001f00| 20 74 68 65 20 72 61 77 | 20 69 6e 64 65 78 20 66 | the raw| index f|
|00001f10| 69 6c 65 2e 20 20 48 65 | 72 65 2c 20 61 6c 6c 20 |ile. He|re, all |
|00001f20| 69 6e 64 65 78 20 6b 65 | 79 73 20 61 72 65 0a 09 |index ke|ys are..|
|00001f30| 73 6f 72 74 65 64 20 61 | 6c 70 68 61 62 65 74 69 |sorted a|lphabeti|
|00001f40| 63 61 6c 6c 79 2e 20 20 | 50 61 67 65 20 6e 75 6d |cally. |Page num|
|00001f50| 62 65 72 73 20 75 6e 64 | 65 72 20 74 68 65 20 73 |bers und|er the s|
|00001f60| 61 6d 65 20 6b 65 79 20 | 61 72 65 20 6d 65 72 67 |ame key |are merg|
|00001f70| 65 64 0a 09 61 6e 64 20 | 73 75 63 63 65 73 73 69 |ed..and |successi|
|00001f80| 76 65 20 6e 75 6d 62 65 | 72 73 20 6d 61 79 20 62 |ve numbe|rs may b|
|00001f90| 65 20 63 6f 6c 6c 65 63 | 74 65 64 20 69 6e 74 6f |e collec|ted into|
|00001fa0| 0a 09 69 6e 74 65 72 76 | 61 6c 73 20 28 65 2e 67 |..interv|als (e.g|
|00001fb0| 2e 2c 20 5c 76 65 72 62 | 7c 31 2c 20 32 2c 20 33 |., \verb||1, 2, 3|
|00001fc0| 2c 20 34 2c 20 35 7c 20 | 69 73 20 72 65 70 6c 61 |, 4, 5| |is repla|
|00001fd0| 63 65 64 20 62 79 20 5c | 76 65 72 62 7c 31 2d 35 |ced by \|verb|1-5|
|00001fe0| 7c 29 2e 0a 09 53 75 62 | 69 74 65 6d 73 20 77 69 ||)...Sub|items wi|
|00001ff0| 74 68 69 6e 20 61 6e 20 | 65 6e 74 72 79 2c 20 69 |thin an |entry, i|
|00002000| 66 20 61 6e 79 2c 20 61 | 72 65 20 70 72 6f 70 65 |f any, a|re prope|
|00002010| 72 6c 79 20 68 61 6e 64 | 6c 65 64 2e 0a 20 20 5c |rly hand|led.. \|
|00002020| 69 74 65 6d 20 46 6f 72 | 6d 61 74 74 69 6e 67 20 |item For|matting |
|00002030| 74 68 65 20 70 72 6f 63 | 65 73 73 65 64 20 69 6e |the proc|essed in|
|00002040| 64 65 78 2e 20 20 54 68 | 65 20 72 65 73 75 6c 74 |dex. Th|e result|
|00002050| 20 69 73 20 74 68 65 20 | 61 63 74 75 61 6c 20 69 | is the |actual i|
|00002060| 6e 64 65 78 2e 0a 5c 65 | 6e 64 7b 65 6e 75 6d 65 |ndex..\e|nd{enume|
|00002070| 72 61 74 65 7d 0a 5c 72 | 65 6e 65 77 63 6f 6d 6d |rate}.\r|enewcomm|
|00002080| 61 6e 64 7b 5c 6c 61 62 | 65 6c 65 6e 75 6d 69 7d |and{\lab|elenumi}|
|00002090| 7b 5c 61 72 61 62 69 63 | 7b 65 6e 75 6d 69 7d 2e |{\arabic|{enumi}.|
|000020a0| 7d 20 20 20 25 20 72 65 | 73 65 74 20 74 68 65 20 |} % re|set the |
|000020b0| 6c 69 73 74 20 62 61 63 | 6b 20 74 6f 20 61 72 61 |list bac|k to ara|
|000020c0| 62 69 63 0a 54 68 65 20 | 69 64 65 61 20 69 73 20 |bic.The |idea is |
|000020d0| 69 6c 6c 75 73 74 72 61 | 74 65 64 20 69 6e 20 46 |illustra|ted in F|
|000020e0| 69 67 75 72 65 7e 31 2c | 20 77 68 65 72 65 20 72 |igure~1,| where r|
|000020f0| 6f 6d 61 6e 20 63 61 70 | 69 74 61 6c 73 20 49 2d |oman cap|itals I-|
|00002100| 2d 49 56 20 6d 61 72 6b | 69 6e 67 0a 74 68 65 20 |-IV mark|ing.the |
|00002110| 65 64 67 65 73 20 63 6f | 72 72 65 73 70 6f 6e 64 |edges co|rrespond|
|00002120| 20 74 6f 20 74 68 65 20 | 66 6f 75 72 20 73 74 65 | to the |four ste|
|00002130| 70 73 20 68 65 72 65 2e | 0a 54 68 69 73 20 70 72 |ps here.|.This pr|
|00002140| 6f 63 65 64 75 72 65 20 | 69 73 20 61 20 68 69 67 |ocedure |is a hig|
|00002150| 68 6c 79 20 73 65 71 75 | 65 6e 74 69 61 6c 2c 0a |hly sequ|ential,.|
|00002160| 66 6f 72 20 74 68 65 20 | 69 6e 70 75 74 20 74 6f |for the |input to|
|00002170| 20 6f 6e 65 20 73 74 65 | 70 20 64 65 70 65 6e 64 | one ste|p depend|
|00002180| 73 20 75 70 6f 6e 20 74 | 68 65 20 72 65 73 75 6c |s upon t|he resul|
|00002190| 74 20 66 72 6f 6d 20 74 | 68 65 20 70 72 65 76 69 |t from t|he previ|
|000021a0| 6f 75 73 20 6f 6e 65 2e | 0a 0a 46 69 67 75 72 65 |ous one.|..Figure|
|000021b0| 7e 32 20 65 78 65 6d 70 | 6c 69 66 69 65 73 20 61 |~2 exemp|lifies a|
|000021c0| 20 73 74 65 70 77 69 73 | 65 20 64 65 76 65 6c 6f | stepwis|e develo|
|000021d0| 70 6d 65 6e 74 20 6f 66 | 20 74 68 65 20 70 72 6f |pment of| the pro|
|000021e0| 63 65 73 73 2e 0a 49 6e | 20 7b 5c 4c 61 54 65 58 |cess..In| {\LaTeX|
|000021f0| 7d 20 61 6e 64 20 7b 5c | 54 65 58 7d 2c 20 61 6c |} and {\|TeX}, al|
|00002200| 6c 20 63 6f 6d 6d 61 6e | 64 73 20 62 65 67 69 6e |l comman|ds begin|
|00002210| 20 77 69 74 68 20 61 20 | 62 61 63 6b 73 6c 61 73 | with a |backslas|
|00002220| 68 0a 28 5c 76 65 72 62 | 7c 5c 7c 29 2e 20 20 46 |h.(\verb||\|). F|
|00002230| 69 67 75 72 65 7e 32 2e | 61 20 73 68 6f 77 73 20 |igure~2.|a shows |
|00002240| 73 6f 6d 65 20 6f 63 63 | 75 72 72 65 6e 63 65 73 |some occ|urrences|
|00002250| 20 6f 66 20 69 6e 64 65 | 78 0a 63 6f 6d 6d 61 6e | of inde|x.comman|
|00002260| 64 73 20 28 5c 76 65 72 | 62 7c 5c 69 6e 64 65 78 |ds (\ver|b|\index|
|00002270| 7c 29 20 69 6e 20 74 68 | 65 20 64 6f 63 75 6d 65 ||) in th|e docume|
|00002280| 6e 74 20 73 6f 75 72 63 | 65 2c 20 77 69 74 68 20 |nt sourc|e, with |
|00002290| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 70 61 |correspo|nding pa|
|000022a0| 67 65 73 0a 6c 69 73 74 | 65 64 20 6f 6e 20 74 68 |ges.list|ed on th|
|000022b0| 65 20 6c 65 66 74 2e 20 | 20 54 68 65 20 70 61 67 |e left. | The pag|
|000022c0| 65 20 6e 75 6d 62 65 72 | 20 69 73 20 6e 6f 74 20 |e number| is not |
|000022d0| 70 61 72 74 20 6f 66 20 | 74 68 65 20 73 6f 75 72 |part of |the sour|
|000022e0| 63 65 20 66 69 6c 65 20 | 73 69 6e 63 65 20 61 74 |ce file |since at|
|000022f0| 0a 66 69 6c 65 2d 70 72 | 65 70 61 72 61 74 69 6f |.file-pr|eparatio|
|00002300| 6e 20 74 69 6d 65 2c 20 | 69 74 20 69 73 20 75 6e |n time, |it is un|
|00002310| 63 6c 65 61 72 20 6f 6e | 20 77 68 69 63 68 20 70 |clear on| which p|
|00002320| 61 67 65 20 61 20 67 69 | 76 65 6e 20 74 65 78 74 |age a gi|ven text|
|00002330| 75 61 6c 20 6d 61 74 65 | 72 69 61 6c 0a 77 69 6c |ual mate|rial.wil|
|00002340| 6c 20 65 76 65 6e 74 75 | 61 6c 6c 79 20 61 70 70 |l eventu|ally app|
|00002350| 65 61 72 2e 20 20 46 69 | 67 75 72 65 7e 32 2e 61 |ear. Fi|gure~2.a|
|00002360| 20 69 6e 63 6c 75 64 65 | 73 20 74 68 65 73 65 20 | include|s these |
|00002370| 6e 75 6d 62 65 72 73 20 | 6a 75 73 74 20 74 6f 0a |numbers |just to.|
|00002380| 69 6e 64 69 63 61 74 65 | 20 74 68 61 74 20 75 6c |indicate| that ul|
|00002390| 74 69 6d 61 74 65 6c 79 | 20 74 68 65 73 65 20 65 |timately| these e|
|000023a0| 6e 74 72 69 65 73 20 77 | 6f 75 6c 64 20 61 70 70 |ntries w|ould app|
|000023b0| 65 61 72 20 6f 6e 20 74 | 68 6f 73 65 20 70 61 67 |ear on t|hose pag|
|000023c0| 65 73 2e 0a 46 69 67 75 | 72 65 7e 32 2e 62 20 73 |es..Figu|re~2.b s|
|000023d0| 68 6f 77 73 20 61 20 72 | 61 77 20 69 6e 64 65 78 |hows a r|aw index|
|000023e0| 20 66 69 6c 65 20 67 65 | 6e 65 72 61 74 65 64 20 | file ge|nerated |
|000023f0| 62 79 20 7b 5c 4c 61 54 | 65 58 7d 2e 0a 41 66 74 |by {\LaT|eX}..Aft|
|00002400| 65 72 20 72 75 6e 6e 69 | 6e 67 20 74 68 72 6f 75 |er runni|ng throu|
|00002410| 67 68 20 74 68 65 20 69 | 6e 64 65 78 20 70 72 6f |gh the i|ndex pro|
|00002420| 63 65 73 73 6f 72 2c 20 | 69 74 20 62 65 63 6f 6d |cessor, |it becom|
|00002430| 65 73 20 61 6e 20 61 6c | 70 68 61 62 65 74 69 7a |es an al|phabetiz|
|00002440| 65 64 20 69 6e 64 65 78 | 0a 77 69 74 68 20 63 6f |ed index|.with co|
|00002450| 6d 6d 61 6e 64 73 20 73 | 70 65 63 69 66 79 69 6e |mmands s|pecifyin|
|00002460| 67 20 61 20 70 61 72 74 | 69 63 75 6c 61 72 20 6f |g a part|icular o|
|00002470| 75 74 70 75 74 20 61 70 | 70 65 61 72 61 6e 63 65 |utput ap|pearance|
|00002480| 20 28 46 69 67 75 72 65 | 7e 32 2e 63 29 2e 0a 54 | (Figure|~2.c)..T|
|00002490| 68 65 20 72 65 73 75 6c | 74 20 61 66 74 65 72 20 |he resul|t after |
|000024a0| 66 6f 72 6d 61 74 74 69 | 6e 67 20 69 73 20 73 68 |formatti|ng is sh|
|000024b0| 6f 77 6e 20 69 6e 20 46 | 69 67 75 72 65 7e 32 2e |own in F|igure~2.|
|000024c0| 64 2e 0a 0a 5c 62 65 67 | 69 6e 7b 66 69 67 75 72 |d...\beg|in{figur|
|000024d0| 65 7d 0a 5c 62 65 67 69 | 6e 7b 69 65 78 61 6d 70 |e}.\begi|n{iexamp|
|000024e0| 6c 65 7d 0a 26 5c 5c 0a | 7b 5c 73 6c 20 50 61 67 |le}.&\\.|{\sl Pag|
|000024f0| 65 20 69 76 5c 2f 7d 3a | 20 26 20 5c 76 65 72 62 |e iv\/}:| & \verb|
|00002500| 7c 5c 69 6e 64 65 78 7b | 61 6c 70 68 61 7d 7c 20 ||\index{|alpha}| |
|00002510| 5c 5c 0a 7b 5c 73 6c 20 | 50 61 67 65 20 31 5c 2f |\\.{\sl |Page 1\/|
|00002520| 7d 3a 20 26 20 5c 76 65 | 72 62 7c 5c 69 6e 64 65 |}: & \ve|rb|\inde|
|00002530| 78 7b 61 6c 70 68 61 7d | 7c 20 5c 5c 0a 7b 5c 73 |x{alpha}|| \\.{\s|
|00002540| 6c 20 50 61 67 65 20 32 | 5c 2f 7d 3a 20 26 20 5c |l Page 2|\/}: & \|
|00002550| 76 65 72 62 7c 5c 69 6e | 64 65 78 7b 61 6c 70 68 |verb|\in|dex{alph|
|00002560| 61 7d 7c 20 5c 5c 0a 7b | 5c 73 6c 20 50 61 67 65 |a}| \\.{|\sl Page|
|00002570| 20 33 5c 2f 7d 3a 20 26 | 20 5c 76 65 72 62 7c 5c | 3\/}: &| \verb|\|
|00002580| 69 6e 64 65 78 7b 61 6c | 70 68 61 7d 7c 20 5c 5c |index{al|pha}| \\|
|00002590| 0a 7b 5c 73 6c 20 50 61 | 67 65 20 31 31 5c 2f 7d |.{\sl Pa|ge 11\/}|
|000025a0| 3a 20 26 20 5c 76 65 72 | 62 23 5c 69 6e 64 65 78 |: & \ver|b#\index|
|000025b0| 7b 61 6c 70 68 61 62 65 | 74 61 7c 73 65 65 7b 62 |{alphabe|ta|see{b|
|000025c0| 65 74 61 7d 7d 23 20 5c | 5c 0a 7b 5c 73 6c 20 50 |eta}}# \|\.{\sl P|
|000025d0| 61 67 65 20 31 34 5c 2f | 7d 3a 20 26 20 5c 76 65 |age 14\/|}: & \ve|
|000025e0| 72 62 7c 5c 69 6e 64 65 | 78 7b 61 6c 70 68 61 40 |rb|\inde|x{alpha@|
|000025f0| 7b 5c 69 74 20 61 6c 70 | 68 61 5c 2f 7d 7d 7c 20 |{\it alp|ha\/}}| |
|00002600| 5c 5c 0a 20 20 20 20 20 | 20 20 20 20 26 20 5c 76 |\\. | & \v|
|00002610| 65 72 62 23 5c 69 6e 64 | 65 78 7b 62 65 74 61 7c |erb#\ind|ex{beta||
|00002620| 62 6f 6c 64 7d 23 20 20 | 5c 5c 0a 7b 5c 73 6c 20 |bold}# |\\.{\sl |
|00002630| 50 61 67 65 20 32 32 5c | 2f 7d 3a 20 26 20 5c 76 |Page 22\|/}: & \v|
|00002640| 65 72 62 7c 5c 69 6e 64 | 65 78 7b 61 6c 70 68 61 |erb|\ind|ex{alpha|
|00002650| 21 62 65 74 61 21 67 61 | 6d 6d 61 7d 7c 20 5c 5c |!beta!ga|mma}| \\|
|00002660| 0a 7b 5c 73 6c 20 50 61 | 67 65 20 33 38 5c 2f 7d |.{\sl Pa|ge 38\/}|
|00002670| 3a 20 26 20 5c 76 65 72 | 62 7c 5c 69 6e 64 65 78 |: & \ver|b|\index|
|00002680| 7b 61 6c 70 68 61 21 64 | 65 6c 74 61 7d 7c 20 5c |{alpha!d|elta}| \|
|00002690| 5c 0a 20 26 20 5c 5c 0a | 5c 73 69 6e 64 65 78 0a |\. & \\.|\sindex.|
|000026a0| 5c 5c 0a 5c 76 65 72 62 | 7c 5c 69 6e 64 65 78 65 |\\.\verb||\indexe|
|000026b0| 6e 74 72 79 7b 61 6c 70 | 68 61 7d 7b 69 76 7d 7c |ntry{alp|ha}{iv}||
|000026c0| 20 5c 5c 0a 5c 76 65 72 | 62 7c 5c 69 6e 64 65 78 | \\.\ver|b|\index|
|000026d0| 65 6e 74 72 79 7b 61 6c | 70 68 61 7d 7b 31 7d 7c |entry{al|pha}{1}||
|000026e0| 20 5c 5c 0a 5c 76 65 72 | 62 7c 5c 69 6e 64 65 78 | \\.\ver|b|\index|
|000026f0| 65 6e 74 72 79 7b 61 6c | 70 68 61 7d 7b 32 7d 7c |entry{al|pha}{2}||
|00002700| 20 5c 5c 0a 5c 76 65 72 | 62 7c 5c 69 6e 64 65 78 | \\.\ver|b|\index|
|00002710| 65 6e 74 72 79 7b 61 6c | 70 68 61 7d 7b 33 7d 7c |entry{al|pha}{3}||
|00002720| 20 5c 5c 0a 5c 76 65 72 | 62 23 5c 69 6e 64 65 78 | \\.\ver|b#\index|
|00002730| 65 6e 74 72 79 7b 61 6c | 70 68 61 62 65 74 61 7c |entry{al|phabeta||
|00002740| 73 65 65 7b 62 65 74 61 | 7d 7d 7b 31 31 7d 23 20 |see{beta|}}{11}# |
|00002750| 5c 5c 0a 5c 76 65 72 62 | 7c 5c 69 6e 64 65 78 65 |\\.\verb||\indexe|
|00002760| 6e 74 72 79 7b 61 6c 70 | 68 61 40 7b 5c 69 74 20 |ntry{alp|ha@{\it |
|00002770| 61 6c 70 68 61 5c 2f 7d | 7d 7b 31 34 7d 7c 20 5c |alpha\/}|}{14}| \|
|00002780| 5c 0a 5c 76 65 72 62 23 | 5c 69 6e 64 65 78 65 6e |\.\verb#|\indexen|
|00002790| 74 72 79 7b 62 65 74 61 | 7c 62 6f 6c 64 7d 7b 31 |try{beta||bold}{1|
|000027a0| 34 7d 23 20 5c 5c 0a 5c | 76 65 72 62 7c 5c 69 6e |4}# \\.\|verb|\in|
|000027b0| 64 65 78 65 6e 74 72 79 | 7b 61 6c 70 68 61 21 62 |dexentry|{alpha!b|
|000027c0| 65 74 61 21 67 61 6d 6d | 61 7d 7b 32 32 7d 7c 20 |eta!gamm|a}{22}| |
|000027d0| 5c 5c 0a 5c 76 65 72 62 | 7c 5c 69 6e 64 65 78 65 |\\.\verb||\indexe|
|000027e0| 6e 74 72 79 7b 61 6c 70 | 68 61 21 64 65 6c 74 61 |ntry{alp|ha!delta|
|000027f0| 7d 7b 33 38 7d 7c 20 5c | 5c 0a 5c 65 6e 64 7b 69 |}{38}| \|\.\end{i|
|00002800| 65 78 61 6d 70 6c 65 7d | 0a 5c 68 72 75 6c 65 0a |example}|.\hrule.|
|00002810| 5c 62 65 67 69 6e 7b 69 | 65 78 61 6d 70 6c 65 7d |\begin{i|example}|
|00002820| 0a 26 5c 5c 0a 5c 76 65 | 72 62 7c 5c 62 65 67 69 |.&\\.\ve|rb|\begi|
|00002830| 6e 7b 74 68 65 69 6e 64 | 65 78 7d 7c 20 26 5c 5c |n{theind|ex}| &\\|
|00002840| 0a 26 5c 5c 0a 5c 76 65 | 72 62 7c 5c 69 74 65 6d |.&\\.\ve|rb|\item|
|00002850| 20 61 6c 70 68 61 2c 20 | 69 76 2c 20 31 2d 33 7c | alpha, |iv, 1-3||
|00002860| 20 26 5c 5c 0a 5c 76 65 | 72 62 7c 20 20 5c 73 75 | &\\.\ve|rb| \su|
|00002870| 62 69 74 65 6d 20 62 65 | 74 61 7c 20 26 5c 5c 0a |bitem be|ta| &\\.|
|00002880| 5c 76 65 72 62 7c 20 20 | 20 20 5c 73 75 62 73 75 |\verb| | \subsu|
|00002890| 62 69 74 65 6d 20 67 61 | 6d 6d 61 2c 20 32 32 7c |bitem ga|mma, 22||
|000028a0| 20 26 5c 5c 0a 5c 76 65 | 72 62 7c 20 20 5c 73 75 | &\\.\ve|rb| \su|
|000028b0| 62 69 74 65 6d 20 64 65 | 6c 74 61 2c 20 33 38 7c |bitem de|lta, 38||
|000028c0| 20 26 5c 5c 0a 5c 76 65 | 72 62 7c 5c 69 74 65 6d | &\\.\ve|rb|\item|
|000028d0| 20 7b 5c 69 74 20 61 6c | 70 68 61 5c 2f 7d 2c 20 | {\it al|pha\/}, |
|000028e0| 31 34 7c 20 26 5c 5c 0a | 5c 76 65 72 62 7c 5c 69 |14| &\\.|\verb|\i|
|000028f0| 74 65 6d 20 61 6c 70 68 | 61 62 65 74 61 2c 20 5c |tem alph|abeta, \|
|00002900| 73 65 65 7b 62 65 74 61 | 7d 7b 31 31 7d 7c 20 26 |see{beta|}{11}| &|
|00002910| 5c 5c 0a 26 5c 5c 0a 5c | 76 65 72 62 7c 5c 69 6e |\\.&\\.\|verb|\in|
|00002920| 64 65 78 73 70 61 63 65 | 7c 20 26 5c 5c 0a 26 5c |dexspace|| &\\.&\|
|00002930| 5c 0a 5c 76 65 72 62 7c | 5c 69 74 65 6d 20 62 65 |\.\verb||\item be|
|00002940| 74 61 2c 20 5c 62 6f 6c | 64 7b 31 34 7d 7c 20 26 |ta, \bol|d{14}| &|
|00002950| 5c 5c 0a 26 5c 5c 0a 5c | 76 65 72 62 7c 5c 65 6e |\\.&\\.\|verb|\en|
|00002960| 64 7b 74 68 65 69 6e 64 | 65 78 7d 7c 20 26 5c 5c |d{theind|ex}| &\\|
|00002970| 0a 5c 74 69 6e 64 65 78 | 0a 5c 5c 0a 61 6c 70 68 |.\tindex|.\\.alph|
|00002980| 61 2c 20 69 76 2c 20 31 | 2d 2d 33 20 5c 5c 0a 5c |a, iv, 1|--3 \\.\|
|00002990| 73 69 74 65 6d 20 62 65 | 74 61 20 5c 5c 0a 5c 73 |sitem be|ta \\.\s|
|000029a0| 73 69 74 65 6d 20 67 61 | 6d 6d 61 2c 20 32 32 5c |sitem ga|mma, 22\|
|000029b0| 5c 0a 5c 73 69 74 65 6d | 20 64 65 6c 74 61 2c 20 |\.\sitem| delta, |
|000029c0| 33 38 20 5c 5c 0a 7b 5c | 69 74 20 61 6c 70 68 61 |38 \\.{\|it alpha|
|000029d0| 5c 2f 7d 2c 20 31 34 5c | 5c 0a 61 6c 70 68 61 62 |\/}, 14\|\.alphab|
|000029e0| 65 74 61 2c 20 7b 5c 69 | 74 20 73 65 65 5c 2f 7d |eta, {\i|t see\/}|
|000029f0| 20 62 65 74 61 5c 5c 0a | 5c 5c 0a 62 65 74 61 2c | beta\\.|\\.beta,|
|00002a00| 20 7b 5c 62 66 20 31 34 | 7d 5c 5c 0a 5c 65 6e 64 | {\bf 14|}\\.\end|
|00002a10| 7b 69 65 78 61 6d 70 6c | 65 7d 0a 5c 63 61 70 74 |{iexampl|e}.\capt|
|00002a20| 69 6f 6e 7b 7b 5c 69 74 | 20 54 68 65 20 73 74 65 |ion{{\it| The ste|
|00002a30| 70 77 69 73 65 20 64 65 | 76 65 6c 6f 70 6d 65 6e |pwise de|velopmen|
|00002a40| 74 20 6f 66 20 69 6e 64 | 65 78 20 70 72 6f 63 65 |t of ind|ex proce|
|00002a50| 73 73 69 6e 67 5c 2f 7d | 2e 0a 54 68 69 73 20 65 |ssing\/}|..This e|
|00002a60| 78 61 6d 70 6c 65 20 69 | 73 20 73 70 65 63 69 66 |xample i|s specif|
|00002a70| 69 65 64 20 69 6e 20 7b | 5c 4c 61 54 65 58 7d 2e |ied in {|\LaTeX}.|
|00002a80| 0a 28 61 29 20 7b 5c 73 | 6c 20 54 6f 70 20 4c 65 |.(a) {\s|l Top Le|
|00002a90| 66 74 5c 2f 7d 3a 20 4f | 63 63 75 72 72 65 6e 63 |ft\/}: O|ccurrenc|
|00002aa0| 65 73 20 6f 66 20 69 6e | 64 65 78 20 63 6f 6d 6d |es of in|dex comm|
|00002ab0| 61 6e 64 73 20 69 6e 20 | 74 68 65 20 64 6f 63 75 |ands in |the docu|
|00002ac0| 6d 65 6e 74 20 73 6f 75 | 72 63 65 2e 0a 4e 6f 74 |ment sou|rce..Not|
|00002ad0| 65 20 74 68 61 74 20 70 | 61 67 65 20 6e 75 6d 62 |e that p|age numb|
|00002ae0| 65 72 73 20 61 72 65 20 | 75 6e 6b 6e 6f 77 6e 20 |ers are |unknown |
|00002af0| 61 74 20 74 68 65 20 74 | 69 6d 65 20 6f 66 20 69 |at the t|ime of i|
|00002b00| 6e 70 75 74 20 77 68 65 | 6e 20 61 20 73 6f 75 72 |nput whe|n a sour|
|00002b10| 63 65 2d 62 61 73 65 64 | 0a 66 6f 72 6d 61 74 74 |ce-based|.formatt|
|00002b20| 65 72 20 6c 69 6b 65 20 | 7b 5c 4c 61 54 65 58 7d |er like |{\LaTeX}|
|00002b30| 20 69 73 20 75 73 65 64 | 2e 20 20 50 61 67 65 20 | is used|. Page |
|00002b40| 6e 75 6d 62 65 72 73 20 | 61 72 65 20 69 6e 63 6c |numbers |are incl|
|00002b50| 75 64 65 64 20 68 65 72 | 65 20 73 69 6d 70 6c 79 |uded her|e simply|
|00002b60| 20 74 6f 0a 69 6c 6c 75 | 73 74 72 61 74 65 20 77 | to.illu|strate w|
|00002b70| 68 65 72 65 20 65 61 63 | 68 20 69 6e 73 74 61 6e |here eac|h instan|
|00002b80| 63 65 20 77 69 6c 6c 20 | 6f 63 63 75 72 2e 20 0a |ce will |occur. .|
|00002b90| 20 20 20 20 20 20 20 20 | 28 62 29 20 7b 5c 73 6c | |(b) {\sl|
|00002ba0| 20 54 6f 70 20 52 69 67 | 68 74 5c 2f 7d 3a 20 72 | Top Rig|ht\/}: r|
|00002bb0| 61 77 20 69 6e 64 65 78 | 20 66 69 6c 65 20 67 65 |aw index| file ge|
|00002bc0| 6e 65 72 61 74 65 64 20 | 62 79 20 7b 5c 4c 61 54 |nerated |by {\LaT|
|00002bd0| 65 58 7d 2e 0a 09 28 63 | 29 20 7b 5c 73 6c 20 42 |eX}...(c|) {\sl B|
|00002be0| 6f 74 74 6f 6d 20 4c 65 | 66 74 5c 2f 7d 3a 20 61 |ottom Le|ft\/}: a|
|00002bf0| 6c 70 68 61 62 65 74 69 | 7a 65 64 20 69 6e 64 65 |lphabeti|zed inde|
|00002c00| 78 20 66 69 6c 65 2e 0a | 20 20 20 20 20 20 20 20 |x file..| |
|00002c10| 28 64 29 20 7b 5c 73 6c | 20 42 6f 74 74 6f 6d 20 |(d) {\sl| Bottom |
|00002c20| 52 69 67 68 74 5c 2f 7d | 3a 20 66 6f 72 6d 61 74 |Right\/}|: format|
|00002c30| 74 65 64 20 66 69 6e 61 | 6c 20 69 6e 64 65 78 2e |ted fina|l index.|
|00002c40| 7d 0a 5c 65 6e 64 7b 66 | 69 67 75 72 65 7d 0a 0a |}.\end{f|igure}..|
|00002c50| 42 61 73 65 64 20 6f 6e | 20 74 68 65 20 65 78 61 |Based on| the exa|
|00002c60| 6d 70 6c 65 20 67 69 76 | 65 6e 20 69 6e 20 46 69 |mple giv|en in Fi|
|00002c70| 67 75 72 65 7e 32 2c 20 | 74 68 65 73 65 20 66 6f |gure~2, |these fo|
|00002c80| 75 72 20 73 74 65 70 73 | 20 61 72 65 20 65 78 70 |ur steps| are exp|
|00002c90| 6c 61 69 6e 65 64 0a 62 | 65 6c 6f 77 2c 20 77 68 |lained.b|elow, wh|
|00002ca0| 65 72 65 20 53 74 65 70 | 73 7e 49 20 61 6e 64 20 |ere Step|s~I and |
|00002cb0| 49 49 49 20 61 72 65 20 | 66 75 72 74 68 65 72 20 |III are |further |
|00002cc0| 65 78 70 61 6e 64 65 64 | 20 69 6e 20 73 75 62 73 |expanded| in subs|
|00002cd0| 65 71 75 65 6e 74 20 73 | 65 63 74 69 6f 6e 73 2e |equent s|ections.|
|00002ce0| 0a 49 73 73 75 65 73 20 | 69 6e 76 6f 6c 76 65 64 |.Issues |involved|
|00002cf0| 20 69 6e 20 53 74 65 70 | 73 7e 49 49 20 61 6e 64 | in Step|s~II and|
|00002d00| 20 49 56 20 61 72 65 20 | 6c 65 73 73 20 63 6f 6d | IV are |less com|
|00002d10| 70 6c 65 78 0a 61 6e 64 | 20 61 72 65 20 63 6f 76 |plex.and| are cov|
|00002d20| 65 72 65 64 20 6f 6e 6c | 79 20 69 6e 20 74 68 69 |ered onl|y in thi|
|00002d30| 73 20 73 65 63 74 69 6f | 6e 2e 0a 0a 5c 73 75 62 |s sectio|n...\sub|
|00002d40| 73 65 63 74 69 6f 6e 7b | 50 6c 61 63 69 6e 67 20 |section{|Placing |
|00002d50| 49 6e 64 65 78 20 43 6f | 6d 6d 61 6e 64 73 7d 0a |Index Co|mmands}.|
|00002d60| 53 74 65 70 7e 49 20 64 | 65 61 6c 73 20 77 69 74 |Step~I d|eals wit|
|00002d70| 68 20 70 6c 61 63 69 6e | 67 20 69 6e 64 65 78 20 |h placin|g index |
|00002d80| 63 6f 6d 6d 61 6e 64 73 | 20 69 6e 20 74 68 65 20 |commands| in the |
|00002d90| 64 6f 63 75 6d 65 6e 74 | 2e 0a 49 6e 20 61 20 73 |document|..In a s|
|00002da0| 6f 75 72 63 65 2d 6c 61 | 6e 67 75 61 67 65 20 62 |ource-la|nguage b|
|00002db0| 61 73 65 64 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |ased env|ironment|
|00002dc0| 2c 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 73 20 63 |, the co|mmands c|
|00002dd0| 61 6e 20 73 69 6d 70 6c | 79 20 62 65 20 69 6e 73 |an simpl|y be ins|
|00002de0| 65 72 74 65 64 0a 69 6e | 20 74 68 65 20 64 6f 63 |erted.in| the doc|
|00002df0| 75 6d 65 6e 74 20 73 6f | 75 72 63 65 20 77 69 74 |ument so|urce wit|
|00002e00| 68 20 61 20 74 65 78 74 | 20 65 64 69 74 6f 72 2e |h a text| editor.|
|00002e10| 0a 54 68 65 79 20 77 69 | 6c 6c 20 62 65 20 75 74 |.They wi|ll be ut|
|00002e20| 69 6c 69 7a 65 64 20 62 | 79 20 74 68 65 20 66 6f |ilized b|y the fo|
|00002e30| 72 6d 61 74 74 65 72 20 | 69 6e 20 67 65 6e 65 72 |rmatter |in gener|
|00002e40| 61 74 69 6e 67 0a 72 61 | 77 20 69 6e 64 65 78 20 |ating.ra|w index |
|00002e50| 65 6e 74 72 69 65 73 20 | 28 53 74 65 70 7e 49 49 |entries |(Step~II|
|00002e60| 29 2c 20 62 75 74 20 77 | 69 6c 6c 20 63 6f 6e 74 |), but w|ill cont|
|00002e70| 72 69 62 75 74 65 20 6e | 6f 74 68 69 6e 67 20 74 |ribute n|othing t|
|00002e80| 6f 20 74 68 65 20 6f 75 | 74 70 75 74 0a 61 70 70 |o the ou|tput.app|
|00002e90| 65 61 72 61 6e 63 65 20 | 61 73 20 66 61 72 20 61 |earance |as far a|
|00002ea0| 73 20 74 68 65 20 63 6f | 72 72 65 73 70 6f 6e 64 |s the co|rrespond|
|00002eb0| 69 6e 67 20 70 61 67 65 | 73 20 61 72 65 20 63 6f |ing page|s are co|
|00002ec0| 6e 63 65 72 6e 65 64 2e | 0a 0a 49 6e 20 61 20 64 |ncerned.|..In a d|
|00002ed0| 69 72 65 63 74 2d 6d 61 | 6e 69 70 75 6c 61 74 69 |irect-ma|nipulati|
|00002ee0| 6f 6e 20 73 79 73 74 65 | 6d 2c 20 69 6e 64 65 78 |on syste|m, index|
|00002ef0| 20 63 6f 6d 6d 61 6e 64 | 73 20 63 61 6e 6e 6f 74 | command|s cannot|
|00002f00| 20 62 65 20 65 6e 74 65 | 72 65 64 20 64 69 72 65 | be ente|red dire|
|00002f10| 63 74 6c 79 20 69 6e 0a | 74 68 65 20 64 6f 63 75 |ctly in.|the docu|
|00002f20| 6d 65 6e 74 20 75 6e 64 | 65 72 20 6d 61 6e 69 70 |ment und|er manip|
|00002f30| 75 6c 61 74 69 6f 6e 2e | 20 20 41 20 70 6f 73 73 |ulation.| A poss|
|00002f40| 69 62 6c 65 20 73 6f 6c | 75 74 69 6f 6e 20 69 73 |ible sol|ution is|
|00002f50| 20 74 6f 20 70 75 74 20 | 74 68 65 6d 0a 69 6e 20 | to put |them.in |
|00002f60| 60 60 73 68 61 64 6f 77 | 20 70 61 67 65 73 27 27 |``shadow| pages''|
|00002f70| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 74 68 65 20 | instead| of the |
|00002f80| 64 6f 63 75 6d 65 6e 74 | 20 6f 75 74 70 75 74 20 |document| output |
|00002f90| 72 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 2e 0a |represen|tation..|
|00002fa0| 41 20 73 68 61 64 6f 77 | 20 64 6f 63 75 6d 65 6e |A shadow| documen|
|00002fb0| 74 20 69 73 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |t is the| origina|
|00002fc0| 6c 20 64 6f 63 75 6d 65 | 6e 74 20 70 6c 75 73 0a |l docume|nt plus.|
|00002fd0| 73 70 65 63 69 61 6c 20 | 74 61 67 73 20 74 68 61 |special |tags tha|
|00002fe0| 74 2c 20 61 6d 6f 6e 67 | 20 6f 74 68 65 72 20 74 |t, among| other t|
|00002ff0| 68 69 6e 67 73 2c 0a 6d | 61 72 6b 20 6c 6f 67 69 |hings,.m|ark logi|
|00003000| 63 61 6c 20 6f 62 6a 65 | 63 74 73 20 6c 69 6b 65 |cal obje|cts like|
|00003010| 20 63 6f 6d 6d 65 6e 74 | 73 2c 20 62 69 62 6c 69 | comment|s, bibli|
|00003020| 6f 67 72 61 70 68 69 63 | 61 6c 20 63 69 74 61 74 |ographic|al citat|
|00003030| 69 6f 6e 73 2c 0a 63 72 | 6f 73 73 20 72 65 66 65 |ions,.cr|oss refe|
|00003040| 72 65 6e 63 65 73 2c 20 | 69 6e 64 65 78 65 73 2c |rences, |indexes,|
|00003050| 20 65 74 63 2e 0a 54 68 | 65 73 65 20 74 61 67 73 | etc..Th|ese tags|
|00003060| 20 61 72 65 20 65 73 73 | 65 6e 74 69 61 6c 20 74 | are ess|ential t|
|00003070| 6f 20 64 6f 63 75 6d 65 | 6e 74 20 63 6f 6d 70 6f |o docume|nt compo|
|00003080| 73 69 74 69 6f 6e 20 62 | 75 74 20 64 6f 20 6e 6f |sition b|ut do no|
|00003090| 74 20 63 6f 72 72 65 73 | 70 6f 6e 64 20 74 6f 0a |t corres|pond to.|
|000030a0| 70 68 79 73 69 63 61 6c | 20 61 70 70 65 61 72 61 |physical| appeara|
|000030b0| 6e 63 65 20 69 6e 20 74 | 68 65 69 72 20 6f 72 69 |nce in t|heir ori|
|000030c0| 67 69 6e 61 6c 20 66 6f | 72 6d 73 2e 20 20 55 70 |ginal fo|rms. Up|
|000030d0| 6f 6e 20 72 65 71 75 65 | 73 74 2c 20 74 68 65 20 |on reque|st, the |
|000030e0| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 0a 6d 61 |correspo|nding.ma|
|000030f0| 72 6b 65 72 73 20 6f 66 | 20 74 68 65 73 65 20 74 |rkers of| these t|
|00003100| 61 67 73 20 63 61 6e 20 | 62 65 20 64 69 73 70 6c |ags can |be displ|
|00003110| 61 79 65 64 20 61 6c 6f | 6e 67 20 77 69 74 68 20 |ayed alo|ng with |
|00003120| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 64 6f 63 |the orig|inal doc|
|00003130| 75 6d 65 6e 74 0a 66 6f | 72 20 65 64 69 74 69 6e |ument.fo|r editin|
|00003140| 67 20 70 75 72 70 6f 73 | 65 73 2e 20 20 46 6f 72 |g purpos|es. For|
|00003150| 20 74 68 65 20 75 73 65 | 72 27 73 20 76 69 73 75 | the use|r's visu|
|00003160| 61 6c 20 63 75 65 2c 20 | 65 61 63 68 20 74 79 70 |al cue, |each typ|
|00003170| 65 20 6f 66 20 74 61 67 | 73 20 63 61 6e 20 62 65 |e of tag|s can be|
|00003180| 0a 72 65 70 72 65 73 65 | 6e 74 65 64 20 62 79 20 |.represe|nted by |
|00003190| 61 20 64 69 66 66 65 72 | 65 6e 74 20 6d 61 72 6b |a differ|ent mark|
|000031a0| 65 72 20 73 79 6d 62 6f | 6c 2e 20 20 0a 4e 6f 72 |er symbo|l. .Nor|
|000031b0| 6d 61 6c 6c 79 20 66 6f | 72 20 65 61 63 68 20 74 |mally fo|r each t|
|000031c0| 61 67 20 65 6e 74 65 72 | 65 64 20 69 6e 20 74 68 |ag enter|ed in th|
|000031d0| 65 0a 64 6f 63 75 6d 65 | 6e 74 2c 20 61 6e 20 65 |e.docume|nt, an e|
|000031e0| 6d 62 65 64 64 65 64 20 | 61 6e 6e 6f 74 61 74 69 |mbedded |annotati|
|000031f0| 6f 6e 20 63 61 6e 20 62 | 65 20 73 70 65 63 69 66 |on can b|e specif|
|00003200| 69 65 64 2e 0a 41 6e 20 | 61 64 64 69 74 69 6f 6e |ied..An |addition|
|00003210| 61 6c 20 77 69 6e 64 6f | 77 20 63 61 6e 20 62 65 |al windo|w can be|
|00003220| 20 63 72 65 61 74 65 64 | 20 74 6f 20 73 68 6f 77 | created| to show|
|00003230| 20 74 68 65 20 61 73 73 | 6f 63 69 61 74 65 64 20 | the ass|ociated |
|00003240| 61 6e 6e 6f 74 61 74 69 | 6f 6e 0a 69 66 20 6e 65 |annotati|on.if ne|
|00003250| 63 65 73 73 61 72 79 2e | 20 20 54 68 69 73 20 73 |cessary.| This s|
|00003260| 68 61 64 6f 77 20 64 6f | 63 75 6d 65 6e 74 20 61 |hadow do|cument a|
|00003270| 70 70 72 6f 61 63 68 20 | 69 73 20 77 69 64 65 6c |pproach |is widel|
|00003280| 79 20 61 64 6f 70 74 65 | 64 20 62 79 0a 64 69 72 |y adopte|d by.dir|
|00003290| 65 63 74 2d 6d 61 6e 69 | 70 75 6c 61 74 69 6f 6e |ect-mani|pulation|
|000032a0| 20 64 6f 63 75 6d 65 6e | 74 20 64 65 76 65 6c 6f | documen|t develo|
|000032b0| 70 6d 65 6e 74 20 6f 72 | 20 64 65 73 6b 74 6f 70 |pment or| desktop|
|000032c0| 20 70 75 62 6c 69 73 68 | 69 6e 67 20 73 79 73 74 | publish|ing syst|
|000032d0| 65 6d 73 0a 73 75 63 68 | 20 61 73 20 58 65 72 6f |ems.such| as Xero|
|000032e0| 78 20 7b 5c 53 54 7d 7e | 5b 31 34 5d 2c 20 7b 5c |x {\ST}~|[14], {\|
|000032f0| 46 4d 7d 7e 5b 31 35 5d | 2c 0a 7b 5c 57 44 7d 7e |FM}~[15]|,.{\WD}~|
|00003300| 5b 31 36 5d 2c 20 61 6e | 64 20 7b 5c 56 50 7d 7e |[16], an|d {\VP}~|
|00003310| 5b 31 37 5d 2e 0a 0a 54 | 68 65 20 70 72 69 6d 61 |[17]...T|he prima|
|00003320| 72 79 20 69 73 73 75 65 | 20 69 6e 20 73 74 65 70 |ry issue| in step|
|00003330| 20 49 20 66 6f 72 20 62 | 6f 74 68 20 70 61 72 61 | I for b|oth para|
|00003340| 64 69 67 6d 73 0a 69 73 | 20 77 68 65 74 68 65 72 |digms.is| whether|
|00003350| 20 6f 72 20 6e 6f 74 20 | 61 20 73 79 73 74 65 6d | or not |a system|
|00003360| 61 74 69 63 20 6d 65 63 | 68 61 6e 69 73 6d 0a 63 |atic mec|hanism.c|
|00003370| 61 6e 20 62 65 20 64 65 | 72 69 76 65 64 20 66 6f |an be de|rived fo|
|00003380| 72 20 74 68 65 20 65 6e | 74 65 72 69 6e 67 20 6f |r the en|tering o|
|00003390| 66 20 69 6e 64 65 78 20 | 63 6f 6d 6d 61 6e 64 73 |f index |commands|
|000033a0| 20 6f 72 20 74 61 67 73 | 2e 0a 44 65 74 61 69 6c | or tags|..Detail|
|000033b0| 73 20 6f 66 20 61 20 67 | 65 6e 65 72 61 6c 20 6d |s of a g|eneral m|
|000033c0| 6f 64 65 6c 20 74 68 61 | 74 20 61 63 63 6f 6d 70 |odel tha|t accomp|
|000033d0| 6c 69 73 68 65 73 20 74 | 68 69 73 20 74 61 73 6b |lishes t|his task|
|000033e0| 20 61 72 65 20 67 69 76 | 65 6e 20 62 65 6c 6f 77 | are giv|en below|
|000033f0| 2e 0a 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 7b |....\sub|section{|
|00003400| 47 65 6e 65 72 61 74 69 | 6e 67 20 74 68 65 20 52 |Generati|ng the R|
|00003410| 61 77 20 49 6e 64 65 78 | 7d 0a 53 74 65 70 7e 49 |aw Index|}.Step~I|
|00003420| 49 20 63 6f 6e 63 65 72 | 6e 73 20 61 74 74 61 63 |I concer|ns attac|
|00003430| 68 69 6e 67 20 74 68 65 | 20 63 75 72 72 65 6e 74 |hing the| current|
|00003440| 20 70 61 67 65 20 6e 75 | 6d 62 65 72 20 74 6f 20 | page nu|mber to |
|00003450| 65 61 63 68 20 69 6e 64 | 65 78 0a 63 6f 6d 6d 61 |each ind|ex.comma|
|00003460| 6e 64 20 70 6c 61 63 65 | 64 20 69 6e 20 74 68 65 |nd place|d in the|
|00003470| 20 64 6f 63 75 6d 65 6e | 74 2e 20 20 54 68 65 20 | documen|t. The |
|00003480| 63 6f 6d 6d 61 6e 64 20 | 75 73 65 64 20 69 6e 20 |command |used in |
|00003490| 74 68 65 20 67 65 6e 65 | 72 61 74 65 64 0a 72 61 |the gene|rated.ra|
|000034a0| 77 20 69 6e 64 65 78 20 | 66 69 6c 65 20 6d 61 79 |w index |file may|
|000034b0| 20 62 65 20 72 65 6e 61 | 6d 65 64 20 28 69 6e 20 | be rena|med (in |
|000034c0| 6f 75 72 20 65 78 61 6d | 70 6c 65 2c 20 69 74 20 |our exam|ple, it |
|000034d0| 69 73 20 63 68 61 6e 67 | 65 64 0a 66 72 6f 6d 20 |is chang|ed.from |
|000034e0| 5c 76 65 72 62 7c 5c 69 | 6e 64 65 78 7c 20 74 6f |\verb|\i|ndex| to|
|000034f0| 20 5c 76 65 72 62 7c 5c | 69 6e 64 65 78 65 6e 74 | \verb|\|indexent|
|00003500| 72 79 7c 29 2e 0a 54 68 | 65 20 65 6e 74 72 69 65 |ry|)..Th|e entrie|
|00003510| 73 20 61 72 65 20 69 6e | 20 74 68 65 20 65 78 61 |s are in| the exa|
|00003520| 63 74 20 6f 72 64 65 72 | 20 69 6e 20 77 68 69 63 |ct order| in whic|
|00003530| 68 20 74 68 65 79 20 61 | 70 70 65 61 72 20 69 6e |h they a|ppear in|
|00003540| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 20 73 6f | the doc|ument so|
|00003550| 75 72 63 65 2e 0a 54 68 | 75 73 2c 20 61 73 20 6c |urce..Th|us, as l|
|00003560| 6f 6e 67 20 61 73 20 74 | 68 65 20 63 75 72 72 65 |ong as t|he curre|
|00003570| 6e 74 20 70 61 67 65 20 | 6e 75 6d 62 65 72 20 69 |nt page |number i|
|00003580| 73 20 61 63 63 65 73 73 | 69 62 6c 65 2c 20 62 65 |s access|ible, be|
|00003590| 20 69 74 0a 73 6f 75 72 | 63 65 2d 6c 61 6e 67 75 | it.sour|ce-langu|
|000035a0| 61 67 65 20 6f 72 20 64 | 69 72 65 63 74 2d 6d 61 |age or d|irect-ma|
|000035b0| 6e 69 70 75 6c 61 74 69 | 6f 6e 20 62 61 73 65 64 |nipulati|on based|
|000035c0| 2c 20 67 65 6e 65 72 61 | 74 69 6e 67 20 72 61 77 |, genera|ting raw|
|000035d0| 20 69 6e 64 65 78 20 65 | 6e 74 72 69 65 73 0a 69 | index e|ntries.i|
|000035e0| 73 20 72 65 6c 61 74 69 | 76 65 6c 79 20 73 74 72 |s relati|vely str|
|000035f0| 61 69 67 68 74 66 6f 72 | 77 61 72 64 2e 0a 0a 54 |aightfor|ward...T|
|00003600| 68 65 72 65 20 61 72 65 | 20 6d 69 6e 6f 72 20 64 |here are| minor d|
|00003610| 69 66 66 65 72 65 6e 63 | 65 73 20 62 65 74 77 65 |ifferenc|es betwe|
|00003620| 65 6e 20 74 68 65 20 74 | 77 6f 20 70 61 72 61 64 |en the t|wo parad|
|00003630| 69 67 6d 73 20 69 6e 20 | 74 68 69 73 20 73 74 65 |igms in |this ste|
|00003640| 70 2c 0a 68 6f 77 65 76 | 65 72 2e 20 20 54 68 65 |p,.howev|er. The|
|00003650| 20 67 65 6e 65 72 61 74 | 69 6f 6e 20 6f 66 20 72 | generat|ion of r|
|00003660| 61 77 20 69 6e 64 65 78 | 20 65 6e 74 72 69 65 73 |aw index| entries|
|00003670| 20 69 6e 20 61 20 73 6f | 75 72 63 65 2d 6c 61 6e | in a so|urce-lan|
|00003680| 67 75 61 67 65 20 62 61 | 73 65 64 0a 73 79 73 74 |guage ba|sed.syst|
|00003690| 65 6d 2c 20 6c 69 6b 65 | 20 66 6f 72 6d 61 74 74 |em, like| formatt|
|000036a0| 69 6e 67 20 69 74 73 65 | 6c 66 2c 20 69 73 20 62 |ing itse|lf, is b|
|000036b0| 79 20 61 6e 64 20 6c 61 | 72 67 65 20 61 20 60 60 |y and la|rge a ``|
|000036c0| 62 61 74 63 68 20 6a 6f | 62 27 27 2e 0a 49 6e 20 |batch jo|b''..In |
|000036d0| 61 20 64 69 72 65 63 74 | 2d 6d 61 6e 69 70 75 6c |a direct|-manipul|
|000036e0| 61 74 69 6f 6e 20 65 64 | 69 74 6f 72 2c 20 69 74 |ation ed|itor, it|
|000036f0| 20 69 73 20 65 61 73 69 | 65 72 20 74 6f 20 6d 61 | is easi|er to ma|
|00003700| 69 6e 74 61 69 6e 20 74 | 68 65 20 6c 69 73 74 20 |intain t|he list |
|00003710| 6f 66 20 72 61 77 20 69 | 6e 64 65 78 20 65 6e 74 |of raw i|ndex ent|
|00003720| 72 69 65 73 0a 69 6e 63 | 72 65 6d 65 6e 74 61 6c |ries.inc|remental|
|00003730| 6c 79 20 62 65 63 61 75 | 73 65 20 74 68 65 20 64 |ly becau|se the d|
|00003740| 6f 63 75 6d 65 6e 74 20 | 62 65 69 6e 67 20 6d 61 |ocument |being ma|
|00003750| 6e 69 70 75 6c 61 74 65 | 64 20 69 73 20 61 6c 77 |nipulate|d is alw|
|00003760| 61 79 73 20 66 6f 72 6d | 61 74 74 65 64 0a 73 6f |ays form|atted.so|
|00003770| 20 74 68 65 20 70 61 67 | 65 20 6e 75 6d 62 65 72 | the pag|e number|
|00003780| 20 69 73 20 61 6c 77 61 | 79 73 20 63 75 72 72 65 | is alwa|ys curre|
|00003790| 6e 74 2e 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |nt...\su|bsection|
|000037a0| 7b 49 6e 64 65 78 20 50 | 72 6f 63 65 73 73 69 6e |{Index P|rocessin|
|000037b0| 67 7d 0a 50 72 6f 63 65 | 73 73 69 6e 67 20 72 61 |g}.Proce|ssing ra|
|000037c0| 77 20 69 6e 64 65 78 20 | 65 6e 74 72 69 65 73 20 |w index |entries |
|000037d0| 72 61 69 73 65 73 20 73 | 65 76 65 72 61 6c 20 69 |raises s|everal i|
|000037e0| 73 73 75 65 73 2e 0a 53 | 6f 6d 65 20 68 69 67 68 |ssues..S|ome high|
|000037f0| 2d 6c 65 76 65 6c 20 69 | 73 73 75 65 73 20 61 72 |-level i|ssues ar|
|00003800| 65 20 64 65 73 63 72 69 | 62 65 64 20 62 65 6c 6f |e descri|bed belo|
|00003810| 77 20 77 69 74 68 20 72 | 65 66 65 72 65 6e 63 65 |w with r|eference|
|00003820| 73 20 74 6f 20 74 68 65 | 20 65 78 61 6d 70 6c 65 |s to the| example|
|00003830| 20 67 69 76 65 6e 0a 69 | 6e 20 46 69 67 75 72 65 | given.i|n Figure|
|00003840| 7e 32 3b 20 68 6f 77 20 | 74 68 65 73 65 20 74 61 |~2; how |these ta|
|00003850| 73 6b 73 20 63 61 6e 20 | 62 65 20 72 65 61 6c 69 |sks can |be reali|
|00003860| 7a 65 64 20 69 73 20 64 | 65 74 61 69 6c 65 64 20 |zed is d|etailed |
|00003870| 69 6e 20 74 68 65 20 6e | 65 78 74 20 73 65 63 74 |in the n|ext sect|
|00003880| 69 6f 6e 2e 0a 0a 7b 5c | 69 74 20 50 65 72 6d 75 |ion...{\|it Permu|
|00003890| 74 61 74 69 6f 6e 5c 2f | 7d 2e 20 20 49 6e 64 65 |tation\/|}. Inde|
|000038a0| 78 20 65 6e 74 72 69 65 | 73 20 61 72 65 20 73 6f |x entrie|s are so|
|000038b0| 72 74 65 64 20 61 6c 70 | 68 61 62 65 74 69 63 61 |rted alp|habetica|
|000038c0| 6c 6c 79 20 28 46 69 67 | 75 72 65 7e 32 2e 63 29 |lly (Fig|ure~2.c)|
|000038d0| 2e 0a 54 68 65 20 69 6e | 64 65 78 20 70 72 6f 63 |..The in|dex proc|
|000038e0| 65 73 73 6f 72 20 6d 75 | 73 74 20 64 69 66 66 65 |essor mu|st diffe|
|000038f0| 72 65 6e 74 69 61 74 65 | 20 61 6d 6f 6e 67 20 64 |rentiate| among d|
|00003900| 69 66 66 65 72 65 6e 74 | 20 74 79 70 65 73 20 6f |ifferent| types o|
|00003910| 66 20 6b 65 79 73 0a 73 | 75 63 68 20 61 73 20 73 |f keys.s|uch as s|
|00003920| 74 72 69 6e 67 73 2c 20 | 6e 75 6d 62 65 72 73 2c |trings, |numbers,|
|00003930| 20 61 6e 64 20 73 70 65 | 63 69 61 6c 20 73 79 6d | and spe|cial sym|
|00003940| 62 6f 6c 73 2e 0a 55 70 | 70 65 72 20 61 6e 64 20 |bols..Up|per and |
|00003950| 6c 6f 77 65 72 20 63 61 | 73 65 20 6c 65 74 74 65 |lower ca|se lette|
|00003960| 72 73 20 73 68 6f 75 6c | 64 20 62 65 20 64 69 73 |rs shoul|d be dis|
|00003970| 74 69 6e 67 75 69 73 68 | 65 64 2e 0a 46 75 72 74 |tinguish|ed..Furt|
|00003980| 68 65 72 6d 6f 72 65 2c | 20 69 74 20 6d 61 79 20 |hermore,| it may |
|00003990| 62 65 20 6e 65 63 65 73 | 73 61 72 79 20 74 6f 20 |be neces|sary to |
|000039a0| 68 61 6e 64 6c 65 20 72 | 6f 6d 61 6e 2c 20 61 72 |handle r|oman, ar|
|000039b0| 61 62 69 63 2c 20 61 6e | 64 0a 61 6c 70 68 61 62 |abic, an|d.alphab|
|000039c0| 65 74 69 63 20 70 61 67 | 65 20 6e 75 6d 62 65 72 |etic pag|e number|
|000039d0| 73 2e 0a 0a 7b 5c 69 74 | 20 4d 65 72 67 69 6e 67 |s...{\it| Merging|
|000039e0| 5c 2f 7d 2e 20 20 44 69 | 66 66 65 72 65 6e 74 20 |\/}. Di|fferent |
|000039f0| 70 61 67 65 20 6e 75 6d | 62 65 72 73 20 63 6f 72 |page num|bers cor|
|00003a00| 72 65 73 70 6f 6e 64 69 | 6e 67 20 74 6f 20 74 68 |respondi|ng to th|
|00003a10| 65 20 73 61 6d 65 0a 69 | 6e 64 65 78 20 6b 65 79 |e same.i|ndex key|
|00003a20| 20 61 72 65 20 6d 65 72 | 67 65 64 20 69 6e 74 6f | are mer|ged into|
|00003a30| 20 6f 6e 65 20 6c 69 73 | 74 2e 20 20 41 6c 73 6f | one lis|t. Also|
|00003a40| 2c 20 74 68 72 65 65 20 | 6f 72 20 6d 6f 72 65 0a |, three |or more.|
|00003a50| 73 75 63 63 65 73 73 69 | 76 65 20 70 61 67 65 20 |successi|ve page |
|00003a60| 6e 75 6d 62 65 72 73 20 | 61 72 65 20 61 62 62 72 |numbers |are abbr|
|00003a70| 65 76 69 61 74 65 64 20 | 61 73 20 61 20 72 61 6e |eviated |as a ran|
|00003a80| 67 65 20 28 61 73 20 69 | 6e 20 74 68 65 0a 63 61 |ge (as i|n the.ca|
|00003a90| 73 65 20 6f 66 20 5c 76 | 65 72 62 7c 61 6c 70 68 |se of \v|erb|alph|
|00003aa0| 61 2c 20 69 76 2c 20 31 | 2d 33 7c 2c 20 46 69 67 |a, iv, 1|-3|, Fig|
|00003ab0| 75 72 65 7e 32 2e 63 29 | 2e 20 20 49 66 20 63 69 |ure~2.c)|. If ci|
|00003ac0| 74 61 74 69 6f 6e 73 20 | 6f 6e 20 73 75 63 63 65 |tations |on succe|
|00003ad0| 73 73 69 76 65 0a 70 61 | 67 65 73 20 61 72 65 20 |ssive.pa|ges are |
|00003ae0| 6c 6f 67 69 63 61 6c 6c | 79 20 64 69 73 74 69 6e |logicall|y distin|
|00003af0| 63 74 2c 20 67 6f 6f 64 | 20 69 6e 64 65 78 69 6e |ct, good| indexin|
|00003b00| 67 20 70 72 61 63 74 69 | 63 65 20 73 75 67 67 65 |g practi|ce sugge|
|00003b10| 73 74 73 20 74 68 61 74 | 20 74 68 65 79 0a 73 68 |sts that| they.sh|
|00003b20| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 72 65 70 72 |ould not| be repr|
|00003b30| 65 73 65 6e 74 65 64 20 | 62 79 20 61 20 72 61 6e |esented |by a ran|
|00003b40| 67 65 2e 20 20 4f 75 72 | 20 73 79 73 74 65 6d 20 |ge. Our| system |
|00003b50| 61 6c 6c 6f 77 73 20 75 | 73 65 72 20 63 6f 6e 74 |allows u|ser cont|
|00003b60| 72 6f 6c 0a 6f 66 20 74 | 68 69 73 20 70 72 61 63 |rol.of t|his prac|
|00003b70| 74 69 63 65 2e 0a 0a 7b | 5c 69 74 20 53 75 62 69 |tice...{|\it Subi|
|00003b80| 6e 64 65 78 69 6e 67 5c | 2f 7d 2e 20 20 4d 75 6c |ndexing\|/}. Mul|
|00003b90| 74 69 2d 6c 65 76 65 6c | 20 69 6e 64 65 78 69 6e |ti-level| indexin|
|00003ba0| 67 20 69 73 20 73 75 70 | 70 6f 72 74 65 64 2e 0a |g is sup|ported..|
|00003bb0| 48 65 72 65 2c 20 65 6e | 74 72 69 65 73 20 73 68 |Here, en|tries sh|
|00003bc0| 61 72 69 6e 67 20 61 20 | 63 6f 6d 6d 6f 6e 20 70 |aring a |common p|
|00003bd0| 72 65 66 69 78 20 61 72 | 65 20 67 72 6f 75 70 65 |refix ar|e groupe|
|00003be0| 64 20 74 6f 67 65 74 68 | 65 72 0a 75 6e 64 65 72 |d togeth|er.under|
|00003bf0| 20 74 68 65 20 73 61 6d | 65 20 70 72 65 66 69 78 | the sam|e prefix|
|00003c00| 20 6b 65 79 2e 0a 54 68 | 65 20 73 70 65 63 69 61 | key..Th|e specia|
|00003c10| 6c 20 73 79 6d 62 6f 6c | 20 60 5c 76 65 72 62 7c |l symbol| `\verb||
|00003c20| 21 7c 27 20 73 65 72 76 | 65 73 20 61 73 20 74 68 |!|' serv|es as th|
|00003c30| 65 20 6c 65 76 65 6c 20 | 6f 70 65 72 61 74 6f 72 |e level |operator|
|00003c40| 0a 69 6e 20 74 68 65 20 | 65 78 61 6d 70 6c 65 20 |.in the |example |
|00003c50| 28 46 69 67 75 72 65 7e | 32 2e 61 20 61 6e 64 20 |(Figure~|2.a and |
|00003c60| 32 2e 62 29 2e 20 20 50 | 72 69 6d 61 72 79 20 69 |2.b). P|rimary i|
|00003c70| 6e 64 65 78 65 73 20 61 | 72 65 20 0a 63 6f 6e 76 |ndexes a|re .conv|
|00003c80| 65 72 74 65 64 20 74 6f | 20 66 69 72 73 74 20 6c |erted to| first l|
|00003c90| 65 76 65 6c 20 69 74 65 | 6d 73 20 28 74 68 65 20 |evel ite|ms (the |
|00003ca0| 5c 76 65 72 62 7c 5c 69 | 74 65 6d 7c 20 65 6e 74 |\verb|\i|tem| ent|
|00003cb0| 72 69 65 73 20 69 6e 20 | 46 69 67 75 72 65 7e 32 |ries in |Figure~2|
|00003cc0| 2e 63 29 0a 77 68 69 6c | 65 20 73 75 62 69 6e 64 |.c).whil|e subind|
|00003cd0| 65 78 65 73 20 61 72 65 | 20 63 6f 6e 76 65 72 74 |exes are| convert|
|00003ce0| 65 64 20 74 6f 20 6c 6f | 77 65 72 20 6c 65 76 65 |ed to lo|wer leve|
|00003cf0| 6c 20 69 74 65 6d 73 0a | 28 65 2e 67 2e 2c 20 5c |l items.|(e.g., \|
|00003d00| 76 65 72 62 7c 5c 73 75 | 62 69 74 65 6d 7c 20 6f |verb|\su|bitem| o|
|00003d10| 72 20 5c 76 65 72 62 7c | 5c 73 75 62 73 75 62 69 |r \verb||\subsubi|
|00003d20| 74 65 6d 7c 20 65 6e 74 | 72 69 65 73 20 69 6e 20 |tem| ent|ries in |
|00003d30| 46 69 67 75 72 65 7e 32 | 2e 63 29 2e 0a 0a 7b 5c |Figure~2|.c)...{\|
|00003d40| 69 74 20 41 63 74 75 61 | 6c 20 46 69 65 6c 64 5c |it Actua|l Field\|
|00003d50| 2f 7d 2e 20 20 54 68 65 | 20 64 69 73 74 69 6e 63 |/}. The| distinc|
|00003d60| 74 69 6f 6e 20 62 65 74 | 77 65 65 6e 20 61 20 7b |tion bet|ween a {|
|00003d70| 5c 69 74 20 73 6f 72 74 | 20 6b 65 79 5c 2f 7d 20 |\it sort| key\/} |
|00003d80| 0a 61 6e 64 20 69 74 73 | 09 7b 5c 69 74 20 61 63 |.and its|.{\it ac|
|00003d90| 74 75 61 6c 20 66 69 65 | 6c 64 5c 2f 7d 20 69 73 |tual fie|ld\/} is|
|00003da0| 20 6d 61 64 65 20 65 78 | 70 6c 69 63 69 74 2e 0a | made ex|plicit..|
|00003db0| 53 6f 72 74 20 6b 65 79 | 73 20 61 72 65 20 75 73 |Sort key|s are us|
|00003dc0| 65 64 20 69 6e 20 63 6f | 6d 70 61 72 69 73 6f 6e |ed in co|mparison|
|00003dd0| 20 77 68 69 6c 65 20 74 | 68 65 69 72 20 61 63 74 | while t|heir act|
|00003de0| 75 61 6c 20 63 6f 75 6e | 74 65 72 70 61 72 74 73 |ual coun|terparts|
|00003df0| 20 61 72 65 20 0a 77 68 | 61 74 20 65 6e 64 20 75 | are .wh|at end u|
|00003e00| 70 20 62 65 69 6e 67 20 | 70 6c 61 63 65 64 20 69 |p being |placed i|
|00003e10| 6e 20 74 68 65 20 70 72 | 69 6e 74 65 64 20 69 6e |n the pr|inted in|
|00003e20| 64 65 78 2e 0a 49 6e 20 | 74 68 65 20 65 78 61 6d |dex..In |the exam|
|00003e30| 70 6c 65 2c 20 74 68 65 | 20 60 5c 76 65 72 62 7c |ple, the| `\verb||
|00003e40| 40 7c 27 0a 73 69 67 6e | 20 69 73 20 75 73 65 64 |@|'.sign| is used|
|00003e50| 20 61 73 20 74 68 65 20 | 61 63 74 75 61 6c 20 66 | as the |actual f|
|00003e60| 69 65 6c 64 20 6f 70 65 | 72 61 74 6f 72 2c 20 77 |ield ope|rator, w|
|00003e70| 68 69 63 68 20 6d 65 61 | 6e 73 20 69 74 73 0a 70 |hich mea|ns its.p|
|00003e80| 72 65 63 65 64 69 6e 67 | 20 73 74 72 69 6e 67 20 |receding| string |
|00003e90| 69 73 20 74 68 65 20 73 | 6f 72 74 20 6b 65 79 20 |is the s|ort key |
|00003ea0| 61 6e 64 20 69 74 73 20 | 73 75 63 63 65 65 64 69 |and its |succeedi|
|00003eb0| 6e 67 20 73 74 72 69 6e | 67 0a 69 73 20 74 68 65 |ng strin|g.is the|
|00003ec0| 20 61 63 74 75 61 6c 20 | 6b 65 79 20 28 65 2e 67 | actual |key (e.g|
|00003ed0| 2e 2c 20 74 68 65 20 5c | 76 65 72 62 7c 5c 69 6e |., the \|verb|\in|
|00003ee0| 64 65 78 7b 61 6c 70 68 | 61 40 7b 5c 69 74 20 61 |dex{alph|a@{\it a|
|00003ef0| 6c 70 68 61 5c 2f 7d 7d | 7c 0a 69 6e 20 46 69 67 |lpha\/}}||.in Fig|
|00003f00| 75 72 65 7e 32 2e 61 29 | 2e 0a 54 68 65 20 73 61 |ure~2.a)|..The sa|
|00003f10| 6d 65 20 73 6f 72 74 20 | 6b 65 79 20 77 69 74 68 |me sort |key with|
|00003f20| 20 61 6e 64 20 77 69 74 | 68 6f 75 74 20 61 6e 20 | and wit|hout an |
|00003f30| 61 63 74 75 61 6c 20 66 | 69 65 6c 64 0a 61 72 65 |actual f|ield.are|
|00003f40| 20 74 72 65 61 74 65 64 | 20 61 73 20 74 77 6f 20 | treated| as two |
|00003f50| 73 65 70 61 72 61 74 65 | 20 65 6e 74 72 69 65 73 |separate| entries|
|00003f60| 20 28 63 66 2e 20 5c 76 | 65 72 62 7c 61 6c 70 68 | (cf. \v|erb|alph|
|00003f70| 61 7c 20 61 6e 64 20 7b | 5c 69 74 20 61 6c 70 68 |a| and {|\it alph|
|00003f80| 61 5c 2f 7d 0a 69 6e 20 | 74 68 65 20 65 78 61 6d |a\/}.in |the exam|
|00003f90| 70 6c 65 29 2e 20 20 49 | 66 20 61 20 6b 65 79 20 |ple). I|f a key |
|00003fa0| 63 6f 6e 74 61 69 6e 73 | 20 6e 6f 20 61 63 74 75 |contains| no actu|
|00003fb0| 61 6c 20 6f 70 65 72 61 | 74 6f 72 2c 0a 69 74 20 |al opera|tor,.it |
|00003fc0| 69 73 20 75 73 65 64 20 | 61 73 20 62 6f 74 68 20 |is used |as both |
|00003fd0| 74 68 65 20 73 6f 72 74 | 20 66 69 65 6c 64 20 61 |the sort| field a|
|00003fe0| 6e 64 20 74 68 65 20 61 | 63 74 75 61 6c 20 66 69 |nd the a|ctual fi|
|00003ff0| 65 6c 64 2e 0a 0a 54 68 | 65 20 73 65 70 61 72 61 |eld...Th|e separa|
|00004000| 74 69 6f 6e 20 6f 66 20 | 61 20 73 6f 72 74 20 6b |tion of |a sort k|
|00004010| 65 79 20 66 72 6f 6d 20 | 69 74 73 20 61 63 74 75 |ey from |its actu|
|00004020| 61 6c 20 66 69 65 6c 64 | 20 6d 61 6b 65 73 20 65 |al field| makes e|
|00004030| 6e 74 72 79 20 73 6f 72 | 74 69 6e 67 0a 6d 75 63 |ntry sor|ting.muc|
|00004040| 68 20 65 61 73 69 65 72 | 2e 20 20 49 66 20 74 68 |h easier|. If th|
|00004050| 65 72 65 20 77 65 72 65 | 20 6f 6e 6c 79 20 6f 6e |ere were| only on|
|00004060| 65 20 66 69 65 6c 64 2c | 0a 74 68 65 20 63 6f 6d |e field,|.the com|
|00004070| 70 61 72 69 73 6f 6e 20 | 72 6f 75 74 69 6e 65 20 |parison |routine |
|00004080| 77 6f 75 6c 64 20 68 61 | 76 65 20 74 6f 20 69 67 |would ha|ve to ig|
|00004090| 6e 6f 72 65 20 73 79 6e | 74 61 63 74 69 63 20 73 |nore syn|tactic s|
|000040a0| 75 67 61 72 20 72 65 6c | 61 74 65 64 20 74 6f 0a |ugar rel|ated to.|
|000040b0| 6f 75 74 70 75 74 20 61 | 70 70 65 61 72 61 6e 63 |output a|ppearanc|
|000040c0| 65 20 61 6e 64 20 63 6f | 6d 70 61 72 65 20 6f 6e |e and co|mpare on|
|000040d0| 6c 79 20 74 68 65 20 60 | 60 72 65 61 6c 27 27 20 |ly the `|`real'' |
|000040e0| 6b 65 79 77 6f 72 64 73 | 2e 0a 46 6f 72 20 69 6e |keywords|..For in|
|000040f0| 73 74 61 6e 63 65 2c 20 | 69 6e 20 5c 76 65 72 62 |stance, |in \verb|
|00004100| 7c 7b 5c 69 74 20 61 6c | 70 68 61 5c 2f 7d 7c 2c ||{\it al|pha\/}|,|
|00004110| 20 74 68 65 20 70 72 6f | 67 72 61 6d 20 68 61 73 | the pro|gram has|
|00004120| 20 74 6f 20 69 67 6e 6f | 72 65 20 74 68 65 20 66 | to igno|re the f|
|00004130| 6f 6e 74 0a 73 65 74 74 | 69 6e 67 20 63 6f 6d 6d |ont.sett|ing comm|
|00004140| 61 6e 64 20 5c 76 65 72 | 62 7c 5c 69 74 7c 2c 20 |and \ver|b|\it|, |
|00004150| 74 68 65 20 69 74 61 6c | 69 63 20 63 6f 72 72 65 |the ital|ic corre|
|00004160| 63 74 69 6f 6e 20 63 6f | 6d 6d 61 6e 64 20 5c 76 |ction co|mmand \v|
|00004170| 65 72 62 7c 5c 2f 7c 2c | 0a 61 6e 64 20 74 68 65 |erb|\/|,|.and the|
|00004180| 20 73 63 6f 70 65 20 64 | 65 6c 69 6d 69 74 65 72 | scope d|elimiter|
|00004190| 73 20 5c 76 65 72 62 7c | 7b 7d 7c 2e 0a 49 6e 20 |s \verb||{}|..In |
|000041a0| 67 65 6e 65 72 61 6c 2c | 20 69 74 20 69 73 20 69 |general,| it is i|
|000041b0| 6d 70 6f 73 73 69 62 6c | 65 20 74 6f 20 6b 6e 6f |mpossibl|e to kno|
|000041c0| 77 0a 61 6c 6c 20 74 68 | 65 20 70 61 74 74 65 72 |w.all th|e patter|
|000041d0| 6e 73 20 74 68 61 74 20 | 74 68 65 20 69 6e 64 65 |ns that |the inde|
|000041e0| 78 20 70 72 6f 63 65 73 | 73 6f 72 20 73 68 6f 75 |x proces|sor shou|
|000041f0| 6c 64 20 69 67 6e 6f 72 | 65 2c 0a 62 75 74 20 77 |ld ignor|e,.but w|
|00004200| 69 74 68 20 74 68 65 20 | 73 65 70 61 72 61 74 69 |ith the |separati|
|00004210| 6f 6e 20 6f 66 20 74 68 | 65 20 66 69 65 6c 64 73 |on of th|e fields|
|00004220| 2c 20 74 68 65 20 73 6f | 72 74 20 6b 65 79 20 69 |, the so|rt key i|
|00004230| 73 20 75 73 65 64 20 61 | 73 20 61 20 76 65 72 62 |s used a|s a verb|
|00004240| 61 74 69 6d 20 73 74 72 | 69 6e 67 0a 69 6e 20 63 |atim str|ing.in c|
|00004250| 6f 6d 70 61 72 69 73 6f | 6e 3b 20 61 6e 79 20 73 |ompariso|n; any s|
|00004260| 70 65 63 69 61 6c 20 65 | 66 66 65 63 74 20 63 61 |pecial e|ffect ca|
|00004270| 6e 20 62 65 20 61 63 68 | 69 65 76 65 64 20 76 69 |n be ach|ieved vi|
|00004280| 61 20 74 68 65 20 61 63 | 74 75 61 6c 20 66 69 65 |a the ac|tual fie|
|00004290| 6c 64 2e 0a 0a 7b 5c 69 | 74 20 50 61 67 65 20 45 |ld...{\i|t Page E|
|000042a0| 6e 63 61 70 73 75 6c 61 | 74 69 6f 6e 5c 2f 7d 2e |ncapsula|tion\/}.|
|000042b0| 20 20 50 61 67 65 20 6e | 75 6d 62 65 72 73 20 63 | Page n|umbers c|
|000042c0| 61 6e 20 62 65 20 65 6e | 63 61 70 73 75 6c 61 74 |an be en|capsulat|
|000042d0| 65 64 0a 75 73 69 6e 67 | 20 74 68 65 20 60 5c 76 |ed.using| the `\v|
|000042e0| 65 72 62 23 7c 23 27 20 | 6f 70 65 72 61 74 6f 72 |erb#|#' |operator|
|000042f0| 2e 20 20 49 6e 20 74 68 | 65 20 65 78 61 6d 70 6c |. In th|e exampl|
|00004300| 65 2c 0a 70 61 67 65 20 | 31 34 20 6f 6e 20 77 68 |e,.page |14 on wh|
|00004310| 69 63 68 20 5c 76 65 72 | 62 7c 5c 69 6e 64 65 78 |ich \ver|b|\index|
|00004320| 7b 62 65 74 61 7d 7c 20 | 6f 63 63 75 72 73 20 69 |{beta}| |occurs i|
|00004330| 73 20 73 65 74 20 69 6e | 20 62 6f 6c 64 66 61 63 |s set in| boldfac|
|00004340| 65 2c 20 61 73 0a 72 65 | 70 72 65 73 65 6e 74 65 |e, as.re|presente|
|00004350| 64 20 62 79 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |d by the| command|
|00004360| 20 5c 76 65 72 62 7c 5c | 62 6f 6c 64 7c 2e 20 20 | \verb|\|bold|. |
|00004370| 54 68 65 20 61 62 69 6c | 69 74 79 20 74 6f 20 73 |The abil|ity to s|
|00004380| 65 74 0a 70 61 67 65 20 | 6e 75 6d 62 65 72 73 20 |et.page |numbers |
|00004390| 69 6e 20 64 69 66 66 65 | 72 65 6e 74 20 66 6f 6e |in diffe|rent fon|
|000043a0| 74 73 20 61 6c 6c 6f 77 | 73 20 74 68 65 20 69 6e |ts allow|s the in|
|000043b0| 64 65 78 20 74 6f 20 63 | 6f 6e 76 65 79 0a 6d 6f |dex to c|onvey.mo|
|000043c0| 72 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 61 |re infor|mation a|
|000043d0| 62 6f 75 74 20 77 68 61 | 74 65 76 65 72 20 69 73 |bout wha|tever is|
|000043e0| 20 62 65 69 6e 67 20 69 | 6e 64 65 78 65 64 2e 20 | being i|ndexed. |
|000043f0| 20 46 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 0a 74 | For ins|tance,.t|
|00004400| 68 65 20 70 6c 61 63 65 | 20 77 68 65 72 65 20 61 |he place| where a|
|00004410| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 6f 63 63 75 | definit|ion occu|
|00004420| 72 73 20 63 61 6e 20 62 | 65 20 73 65 74 20 69 6e |rs can b|e set in|
|00004430| 20 6f 6e 65 20 66 6f 6e | 74 2c 20 69 74 73 0a 70 | one fon|t, its.p|
|00004440| 72 69 6d 61 72 79 20 65 | 78 61 6d 70 6c 65 20 69 |rimary e|xample i|
|00004450| 6e 20 61 20 73 65 63 6f | 6e 64 2c 20 61 6e 64 20 |n a seco|nd, and |
|00004460| 6f 74 68 65 72 73 20 69 | 6e 20 61 20 74 68 69 72 |others i|n a thir|
|00004470| 64 2e 0a 0a 7b 5c 69 74 | 20 43 72 6f 73 73 20 52 |d...{\it| Cross R|
|00004480| 65 66 65 72 65 6e 63 69 | 6e 67 5c 2f 7d 2e 20 20 |eferenci|ng\/}. |
|00004490| 53 6f 6d 65 20 69 6e 64 | 65 78 20 65 6e 74 72 69 |Some ind|ex entri|
|000044a0| 65 73 20 6d 61 6b 65 20 | 72 65 66 65 72 65 6e 63 |es make |referenc|
|000044b0| 65 73 20 74 6f 0a 6f 74 | 68 65 72 73 2e 20 20 49 |es to.ot|hers. I|
|000044c0| 6e 20 6f 75 72 20 65 78 | 61 6d 70 6c 65 20 74 68 |n our ex|ample th|
|000044d0| 65 20 5c 76 65 72 62 7c | 61 6c 70 68 61 62 65 74 |e \verb||alphabet|
|000044e0| 61 7c 20 65 6e 74 72 79 | 20 69 73 20 61 20 72 65 |a| entry| is a re|
|000044f0| 66 65 72 65 6e 63 65 0a | 74 6f 20 5c 76 65 72 62 |ference.|to \verb|
|00004500| 7c 62 65 74 61 7c 2c 20 | 61 73 20 69 6e 64 69 63 ||beta|, |as indic|
|00004510| 61 74 65 64 20 62 79 20 | 74 68 65 20 7b 5c 69 74 |ated by |the {\it|
|00004520| 20 73 65 65 5c 2f 7d 20 | 70 68 72 61 73 65 2e 0a | see\/} |phrase..|
|00004530| 54 68 65 20 70 61 67 65 | 20 6e 75 6d 62 65 72 2c |The page| number,|
|00004540| 20 68 6f 77 65 76 65 72 | 2c 20 64 69 73 61 70 70 | however|, disapp|
|00004550| 65 61 72 73 20 61 66 74 | 65 72 20 66 6f 72 6d 61 |ears aft|er forma|
|00004560| 74 74 69 6e 67 20 28 53 | 74 65 70 7e 49 56 29 2c |tting (S|tep~IV),|
|00004570| 0a 68 65 6e 63 65 20 69 | 74 20 69 73 20 69 6d 6d |.hence i|t is imm|
|00004580| 61 74 65 72 69 61 6c 20 | 77 68 65 72 65 20 69 6e |aterial |where in|
|00004590| 64 65 78 20 63 6f 6d 6d | 61 6e 64 73 20 64 65 61 |dex comm|ands dea|
|000045a0| 6c 69 6e 67 20 77 69 74 | 68 20 63 72 6f 73 73 20 |ling wit|h cross |
|000045b0| 72 65 66 65 72 65 6e 63 | 65 73 0a 6c 69 6b 65 20 |referenc|es.like |
|000045c0| 7b 5c 69 74 20 73 65 65 | 5c 2f 7d 20 6f 63 63 75 |{\it see|\/} occu|
|000045d0| 72 20 69 6e 20 74 68 65 | 20 64 6f 63 75 6d 65 6e |r in the| documen|
|000045e0| 74 2e 0a 54 68 69 73 20 | 69 73 20 61 20 73 70 65 |t..This |is a spe|
|000045f0| 63 69 61 6c 20 63 61 73 | 65 20 6f 66 20 70 61 67 |cial cas|e of pag|
|00004600| 65 20 65 6e 63 61 70 73 | 75 6c 61 74 69 6f 6e 20 |e encaps|ulation |
|00004610| 28 5c 76 65 72 62 7c 73 | 65 65 7b 62 65 74 61 7d |(\verb|s|ee{beta}|
|00004620| 7c 20 61 70 70 65 61 72 | 73 0a 61 66 74 65 72 20 || appear|s.after |
|00004630| 74 68 65 20 60 5c 76 65 | 72 62 23 7c 23 27 20 6f |the `\ve|rb#|#' o|
|00004640| 70 65 72 61 74 6f 72 29 | 2e 0a 56 61 72 69 61 74 |perator)|..Variat|
|00004650| 69 6f 6e 73 20 6c 69 6b | 65 20 7b 5c 69 74 20 73 |ions lik|e {\it s|
|00004660| 65 65 20 61 6c 73 6f 5c | 2f 7d 2c 20 77 68 69 63 |ee also\|/}, whic|
|00004670| 68 20 67 69 76 65 73 20 | 70 61 67 65 20 6e 75 6d |h gives |page num|
|00004680| 62 65 72 73 20 61 73 20 | 77 65 6c 6c 0a 61 73 20 |bers as |well.as |
|00004690| 72 65 66 65 72 65 6e 63 | 65 73 20 74 6f 20 6f 74 |referenc|es to ot|
|000046a0| 68 65 72 20 65 6e 74 72 | 69 65 73 2c 20 77 6f 72 |her entr|ies, wor|
|000046b0| 6b 20 73 69 6d 69 6c 61 | 72 6c 79 2e 0a 0a 7b 5c |k simila|rly...{\|
|000046c0| 69 74 20 49 6e 70 75 74 | 2f 4f 75 74 70 75 74 20 |it Input|/Output |
|000046d0| 53 74 79 6c 65 5c 2f 7d | 2e 20 20 49 6e 20 6f 72 |Style\/}|. In or|
|000046e0| 64 65 72 20 74 6f 20 62 | 65 0a 66 6f 72 6d 61 74 |der to b|e.format|
|000046f0| 74 65 72 2d 20 61 6e 64 | 20 66 6f 72 6d 61 74 2d |ter- and| format-|
|00004700| 69 6e 64 65 70 65 6e 64 | 65 6e 74 2c 20 74 68 65 |independ|ent, the|
|00004710| 20 69 6e 64 65 78 20 70 | 72 6f 63 65 73 73 6f 72 | index p|rocessor|
|00004720| 20 6d 75 73 74 20 62 65 | 20 61 62 6c 65 0a 74 6f | must be| able.to|
|00004730| 20 68 61 6e 64 6c 65 20 | 61 20 76 61 72 69 65 74 | handle |a variet|
|00004740| 79 20 6f 66 20 66 6f 72 | 6d 61 74 73 2e 20 20 54 |y of for|mats. T|
|00004750| 68 65 72 65 20 61 72 65 | 20 74 77 6f 20 72 65 61 |here are| two rea|
|00004760| 73 6f 6e 73 20 66 6f 72 | 20 63 6f 6e 73 69 64 65 |sons for| conside|
|00004770| 72 69 6e 67 0a 74 68 69 | 73 20 69 6e 64 65 70 65 |ring.thi|s indepe|
|00004780| 6e 64 65 6e 63 65 20 69 | 73 73 75 65 20 69 6e 20 |ndence i|ssue in |
|00004790| 74 68 65 20 69 6e 70 75 | 74 20 73 69 64 65 3a 0a |the inpu|t side:.|
|000047a0| 52 61 77 20 69 6e 64 65 | 78 20 66 69 6c 65 73 20 |Raw inde|x files |
|000047b0| 67 65 6e 65 72 61 74 65 | 64 20 62 79 20 73 79 73 |generate|d by sys|
|000047c0| 74 65 6d 73 0a 6f 74 68 | 65 72 20 74 68 61 6e 20 |tems.oth|er than |
|000047d0| 7b 5c 4c 61 54 65 58 7d | 20 6d 61 79 20 6e 6f 74 |{\LaTeX}| may not|
|000047e0| 20 63 6f 6d 70 6c 79 20 | 74 6f 20 74 68 65 20 64 | comply |to the d|
|000047f0| 65 66 61 75 6c 74 20 66 | 6f 72 6d 61 74 2c 20 61 |efault f|ormat, a|
|00004800| 6e 64 0a 74 68 65 20 62 | 61 73 69 63 20 66 72 61 |nd.the b|asic fra|
|00004810| 6d 65 77 6f 72 6b 20 65 | 73 74 61 62 6c 69 73 68 |mework e|stablish|
|00004820| 65 64 20 66 6f 72 20 70 | 72 6f 63 65 73 73 69 6e |ed for p|rocessin|
|00004830| 67 20 69 6e 64 65 78 65 | 73 20 63 61 6e 20 61 6c |g indexe|s can al|
|00004840| 73 6f 20 62 65 0a 75 73 | 65 64 20 74 6f 20 70 72 |so be.us|ed to pr|
|00004850| 6f 63 65 73 73 20 6f 74 | 68 65 72 20 6f 62 6a 65 |ocess ot|her obje|
|00004860| 63 74 73 20 6f 66 20 73 | 69 6d 69 6c 61 72 20 6e |cts of s|imilar n|
|00004870| 61 74 75 72 65 20 28 65 | 2e 67 2e 2c 20 67 6c 6f |ature (e|.g., glo|
|00004880| 73 73 61 72 69 65 73 29 | 2e 0a 42 75 74 20 74 68 |ssaries)|..But th|
|00004890| 65 73 65 20 6f 74 68 65 | 72 20 6f 62 6a 65 63 74 |ese othe|r object|
|000048a0| 73 20 77 69 6c 6c 20 63 | 65 72 74 61 69 6e 6c 79 |s will c|ertainly|
|000048b0| 20 68 61 76 65 20 61 20 | 64 69 66 66 65 72 65 6e | have a |differen|
|000048c0| 74 20 6b 65 79 77 6f 72 | 64 0a 28 65 2e 67 2e 2c |t keywor|d.(e.g.,|
|000048d0| 20 5c 76 65 72 62 7c 5c | 67 6c 6f 73 73 61 72 79 | \verb|\|glossary|
|000048e0| 65 6e 74 72 79 7c 20 61 | 73 20 6f 70 70 6f 73 65 |entry| a|s oppose|
|000048f0| 64 20 74 6f 20 5c 76 65 | 72 62 7c 5c 69 6e 64 65 |d to \ve|rb|\inde|
|00004900| 78 65 6e 74 72 79 7c 29 | 0a 69 6e 20 74 68 65 20 |xentry|)|.in the |
|00004910| 76 65 72 79 20 6c 65 61 | 73 74 2e 0a 53 69 6d 69 |very lea|st..Simi|
|00004920| 6c 61 72 6c 79 20 69 6e | 20 74 68 65 20 6f 75 74 |larly in| the out|
|00004930| 70 75 74 20 73 69 64 65 | 20 74 68 65 20 69 6e 64 |put side| the ind|
|00004940| 65 78 20 73 74 79 6c 65 | 0a 6d 61 79 20 76 61 72 |ex style|.may var|
|00004950| 79 20 66 6f 72 20 64 69 | 66 66 65 72 65 6e 74 20 |y for di|fferent |
|00004960| 73 79 73 74 65 6d 73 2e | 20 20 45 76 65 6e 20 77 |systems.| Even w|
|00004970| 69 74 68 69 6e 20 74 68 | 65 20 73 61 6d 65 20 66 |ithin th|e same f|
|00004980| 6f 72 6d 61 74 74 69 6e | 67 0a 73 79 73 74 65 6d |ormattin|g.system|
|00004990| 2c 20 74 68 65 20 69 6e | 64 65 78 20 6d 61 79 20 |, the in|dex may |
|000049a0| 68 61 76 65 20 74 6f 20 | 6c 6f 6f 6b 20 64 69 66 |have to |look dif|
|000049b0| 66 65 72 65 6e 74 6c 79 | 20 75 6e 64 65 72 20 64 |ferently| under d|
|000049c0| 69 66 66 65 72 65 6e 74 | 0a 70 75 62 6c 69 73 68 |ifferent|.publish|
|000049d0| 69 6e 67 20 72 65 71 75 | 69 72 65 6d 65 6e 74 73 |ing requ|irements|
|000049e0| 2e 20 20 20 49 6e 20 6f | 74 68 65 72 20 77 6f 72 |. In o|ther wor|
|000049f0| 64 73 2c 20 74 68 65 72 | 65 20 6d 75 73 74 20 62 |ds, ther|e must b|
|00004a00| 65 20 61 20 77 61 79 20 | 74 6f 20 69 6e 66 6f 72 |e a way |to infor|
|00004a10| 6d 0a 74 68 65 20 70 72 | 6f 63 65 73 73 6f 72 20 |m.the pr|ocessor |
|00004a20| 6f 66 20 74 68 65 20 69 | 6e 70 75 74 20 66 6f 72 |of the i|nput for|
|00004a30| 6d 61 74 20 61 6e 64 20 | 74 68 65 20 6f 75 74 70 |mat and |the outp|
|00004a40| 75 74 20 73 74 79 6c 65 | 2e 0a 0a 0a 5c 73 75 62 |ut style|....\sub|
|00004a50| 73 65 63 74 69 6f 6e 7b | 49 6e 64 65 78 20 46 6f |section{|Index Fo|
|00004a60| 72 6d 61 74 74 69 6e 67 | 7d 0a 54 77 6f 20 6b 65 |rmatting|}.Two ke|
|00004a70| 79 20 69 73 73 75 65 73 | 20 69 6e 20 74 68 69 73 |y issues| in this|
|00004a80| 20 6c 61 73 74 20 73 74 | 65 70 20 61 72 65 0a 73 | last st|ep are.s|
|00004a90| 75 70 70 6f 72 74 20 66 | 6f 72 20 6d 75 6c 74 69 |upport f|or multi|
|00004aa0| 70 6c 65 20 73 74 79 6c | 65 73 20 61 6e 64 20 66 |ple styl|es and f|
|00004ab0| 6f 72 6d 61 74 74 69 6e | 67 20 69 6e 64 65 70 65 |ormattin|g indepe|
|00004ac0| 6e 64 65 6e 63 65 2e 0a | 46 69 72 73 74 2c 20 74 |ndence..|First, t|
|00004ad0| 68 65 20 66 6f 72 6d 61 | 74 74 69 6e 67 20 73 74 |he forma|tting st|
|00004ae0| 79 6c 65 20 6d 61 63 72 | 6f 73 20 75 73 65 64 20 |yle macr|os used |
|00004af0| 69 6e 20 53 74 65 70 7e | 49 49 49 20 6f 75 74 70 |in Step~|III outp|
|00004b00| 75 74 0a 6d 75 73 74 20 | 62 65 20 64 65 66 69 6e |ut.must |be defin|
|00004b10| 65 64 2e 20 20 49 6e 20 | 6f 75 72 20 65 78 61 6d |ed. In |our exam|
|00004b20| 70 6c 65 2c 0a 74 68 65 | 20 67 6c 6f 62 61 6c 20 |ple,.the| global |
|00004b30| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 28 5c 76 65 |environm|ent (\ve|
|00004b40| 72 62 7c 5c 62 65 67 69 | 6e 7b 74 68 65 69 6e 64 |rb|\begi|n{theind|
|00004b50| 65 78 7d 2e 2e 2e 5c 65 | 6e 64 7b 74 68 65 69 6e |ex}...\e|nd{thein|
|00004b60| 64 65 78 7d 7c 29 20 74 | 65 6c 6c 73 0a 7b 5c 4c |dex}|) t|ells.{\L|
|00004b70| 61 54 65 58 7d 20 74 6f | 20 75 73 65 20 61 20 74 |aTeX} to| use a t|
|00004b80| 77 6f 2d 63 6f 6c 75 6d | 6e 20 70 61 67 65 20 6c |wo-colum|n page l|
|00004b90| 61 79 6f 75 74 2e 20 20 | 45 61 63 68 20 5c 76 65 |ayout. |Each \ve|
|00004ba0| 72 62 7c 5c 69 74 65 6d | 7c 20 69 73 0a 6c 65 66 |rb|\item|| is.lef|
|00004bb0| 74 20 6a 75 73 74 69 66 | 69 65 64 20 61 67 61 69 |t justif|ied agai|
|00004bc0| 6e 73 74 20 74 68 65 20 | 63 6f 6c 75 6d 6e 20 6d |nst the |column m|
|00004bd0| 61 72 67 69 6e 20 61 6e | 64 20 65 61 63 68 20 5c |argin an|d each \|
|00004be0| 76 65 72 62 7c 5c 73 75 | 62 69 74 65 6d 7c 20 69 |verb|\su|bitem| i|
|00004bf0| 73 20 69 6e 64 65 6e 74 | 65 64 0a 62 79 20 32 30 |s indent|ed.by 20|
|00004c00| 20 70 6f 69 6e 74 73 2c | 20 5c 76 65 72 62 7c 5c | points,| \verb|\|
|00004c10| 73 75 62 73 75 62 69 74 | 65 6d 7c 20 62 79 20 33 |subsubit|em| by 3|
|00004c20| 30 2c 20 65 74 63 2e 0a | 54 68 65 72 65 20 69 73 |0, etc..|There is|
|00004c30| 20 61 20 76 65 72 74 69 | 63 61 6c 20 73 70 61 63 | a verti|cal spac|
|00004c40| 65 20 62 6f 75 6e 64 20 | 74 6f 0a 5c 76 65 72 62 |e bound |to.\verb|
|00004c50| 7c 5c 69 6e 64 65 78 73 | 70 61 63 65 7c 20 69 6e ||\indexs|pace| in|
|00004c60| 73 65 72 74 65 64 20 62 | 65 66 6f 72 65 20 74 68 |serted b|efore th|
|00004c70| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 61 |e beginn|ing of a|
|00004c80| 20 6e 65 77 20 6c 65 74 | 74 65 72 0a 28 65 2e 67 | new let|ter.(e.g|
|00004c90| 2e 2c 20 62 65 66 6f 72 | 65 20 5c 76 65 72 62 7c |., befor|e \verb||
|00004ca0| 62 65 74 61 7c 29 2e 0a | 0a 54 68 65 20 66 6f 72 |beta|)..|.The for|
|00004cb0| 6d 61 74 74 69 6e 67 20 | 69 6e 64 65 70 65 6e 64 |matting |independ|
|00004cc0| 65 6e 63 65 20 70 72 6f | 62 6c 65 6d 20 72 65 66 |ence pro|blem ref|
|00004cd0| 65 72 73 20 74 6f 20 77 | 68 65 74 68 65 72 20 6f |ers to w|hether o|
|00004ce0| 72 20 6e 6f 74 20 74 68 | 65 20 66 69 6e 61 6c 20 |r not th|e final |
|00004cf0| 69 6e 64 65 78 0a 63 61 | 6e 20 62 65 20 66 6f 72 |index.ca|n be for|
|00004d00| 6d 61 74 74 65 64 20 69 | 6e 64 65 70 65 6e 64 65 |matted i|ndepende|
|00004d10| 6e 74 6c 79 20 6f 66 20 | 74 68 65 20 65 6e 74 69 |ntly of |the enti|
|00004d20| 72 65 20 64 6f 63 75 6d | 65 6e 74 2e 0a 49 6e 64 |re docum|ent..Ind|
|00004d30| 65 78 69 6e 67 20 69 73 | 20 74 79 70 69 63 61 6c |exing is| typical|
|00004d40| 6c 79 20 74 68 65 20 6c | 61 73 74 20 73 74 65 70 |ly the l|ast step|
|00004d50| 20 6f 66 20 64 6f 63 75 | 6d 65 6e 74 20 70 72 65 | of docu|ment pre|
|00004d60| 70 61 72 61 74 69 6f 6e | 2c 20 61 6e 64 0a 69 73 |paration|, and.is|
|00004d70| 20 61 74 74 65 6d 70 74 | 65 64 20 6f 6e 6c 79 20 | attempt|ed only |
|00004d80| 77 68 65 6e 20 74 68 65 | 20 65 6e 74 69 72 65 20 |when the| entire |
|00004d90| 64 6f 63 75 6d 65 6e 74 | 20 69 73 20 66 69 6e 61 |document| is fina|
|00004da0| 6c 69 7a 65 64 2e 0a 49 | 74 20 69 73 20 64 65 73 |lized..I|t is des|
|00004db0| 69 72 61 62 6c 65 20 74 | 6f 20 62 65 20 61 62 6c |irable t|o be abl|
|00004dc0| 65 20 74 6f 20 67 65 6e | 65 72 61 74 65 20 74 68 |e to gen|erate th|
|00004dd0| 65 20 69 6e 64 65 78 20 | 77 69 74 68 6f 75 74 0a |e index |without.|
|00004de0| 72 65 66 6f 72 6d 61 74 | 74 69 6e 67 20 74 68 65 |reformat|ting the|
|00004df0| 20 65 6e 74 69 72 65 20 | 64 6f 63 75 6d 65 6e 74 | entire |document|
|00004e00| 2e 20 20 54 6f 20 62 65 | 20 61 62 6c 65 20 74 6f |. To be| able to|
|00004e10| 20 66 6f 72 6d 61 74 0a | 74 68 65 20 69 6e 64 65 | format.|the inde|
|00004e20| 78 20 73 65 70 61 72 61 | 74 65 6c 79 2c 20 74 68 |x separa|tely, th|
|00004e30| 65 20 67 6c 6f 62 61 6c | 20 63 6f 6e 74 65 78 74 |e global| context|
|00004e40| 20 6d 75 73 74 20 62 65 | 20 6b 6e 6f 77 6e 2c 20 | must be| known, |
|00004e50| 77 68 69 63 68 20 69 73 | 20 6d 61 64 65 20 70 6f |which is| made po|
|00004e60| 73 73 69 62 6c 65 0a 62 | 79 20 74 68 65 20 65 78 |ssible.b|y the ex|
|00004e70| 74 65 6e 73 69 62 6c 65 | 20 73 74 79 6c 65 20 66 |tensible| style f|
|00004e80| 61 63 69 6c 69 74 79 20 | 69 6e 20 6f 75 72 20 64 |acility |in our d|
|00004e90| 65 73 69 67 6e 2e 0a 4f | 6e 65 20 63 61 6e 20 72 |esign..O|ne can r|
|00004ea0| 65 64 65 66 69 6e 65 20 | 5c 76 65 72 62 7c 70 72 |edefine |\verb|pr|
|00004eb0| 65 61 6d 62 6c 65 7c 20 | 61 6e 64 20 5c 76 65 72 |eamble| |and \ver|
|00004ec0| 62 7c 70 6f 73 74 61 6d | 62 6c 65 7c 20 74 6f 0a |b|postam|ble| to.|
|00004ed0| 69 6e 76 6f 6b 65 20 61 | 20 73 74 79 6c 65 20 63 |invoke a| style c|
|00004ee0| 6f 6e 73 69 73 74 65 6e | 74 20 77 69 74 68 20 74 |onsisten|t with t|
|00004ef0| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 64 6f 63 75 |he origi|nal docu|
|00004f00| 6d 65 6e 74 2e 0a 0a 54 | 68 65 20 6f 74 68 65 72 |ment...T|he other|
|00004f10| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6e 65 65 | informa|tion nee|
|00004f20| 64 65 64 20 74 6f 20 70 | 65 72 66 6f 72 6d 20 65 |ded to p|erform e|
|00004f30| 66 66 65 63 74 69 76 65 | 20 73 65 70 61 72 61 74 |ffective| separat|
|00004f40| 65 20 66 6f 72 6d 61 74 | 74 69 6e 67 0a 69 73 20 |e format|ting.is |
|00004f50| 74 68 65 20 73 74 61 72 | 74 69 6e 67 20 70 61 67 |the star|ting pag|
|00004f60| 65 20 6e 75 6d 62 65 72 | 20 66 6f 72 20 74 68 65 |e number| for the|
|00004f70| 20 69 6e 64 65 78 2e 0a | 53 6f 6d 65 20 73 74 79 | index..|Some sty|
|00004f80| 6c 65 73 20 72 65 71 75 | 69 72 65 20 74 68 61 74 |les requ|ire that|
|00004f90| 20 74 68 65 20 69 6e 64 | 65 78 0a 73 74 61 72 74 | the ind|ex.start|
|00004fa0| 20 6f 6e 20 61 6e 20 65 | 76 65 6e 20 6f 72 20 6f | on an e|ven or o|
|00004fb0| 64 64 20 70 61 67 65 20 | 6e 75 6d 62 65 72 2e 0a |dd page |number..|
|00004fc0| 49 6e 20 65 69 74 68 65 | 72 20 63 61 73 65 2c 20 |In eithe|r case, |
|00004fd0| 74 68 65 72 65 20 6d 75 | 73 74 20 62 65 20 70 72 |there mu|st be pr|
|00004fe0| 6f 76 69 73 69 6f 6e 73 | 20 66 6f 72 20 69 6e 63 |ovisions| for inc|
|00004ff0| 6c 75 64 69 6e 67 20 74 | 68 65 20 63 6f 72 72 65 |luding t|he corre|
|00005000| 63 74 0a 73 74 61 72 74 | 69 6e 67 20 70 61 67 65 |ct.start|ing page|
|00005010| 20 6e 75 6d 62 65 72 20 | 69 6e 20 74 68 65 20 70 | number |in the p|
|00005020| 72 65 2d 66 6f 72 6d 61 | 74 74 65 64 20 76 65 72 |re-forma|tted ver|
|00005030| 73 69 6f 6e 20 6f 66 20 | 69 6e 64 65 78 2e 0a 0a |sion of |index...|
|00005040| 0a 5c 73 65 63 74 69 6f | 6e 7b 49 6e 64 65 78 20 |.\sectio|n{Index |
|00005050| 50 72 6f 63 65 73 73 69 | 6e 67 7d 0a 54 68 65 20 |Processi|ng}.The |
|00005060| 69 6e 64 65 78 20 70 72 | 6f 63 65 73 73 6f 72 20 |index pr|ocessor |
|00005070| 70 65 72 66 6f 72 6d 73 | 20 74 68 65 20 74 61 73 |performs| the tas|
|00005080| 6b 73 20 69 6e 64 69 63 | 61 74 65 64 20 61 62 6f |ks indic|ated abo|
|00005090| 76 65 20 2d 2d 2d 0a 70 | 65 72 6d 75 74 61 74 69 |ve ---.p|ermutati|
|000050a0| 6f 6e 2c 20 70 61 67 65 | 20 6e 75 6d 62 65 72 20 |on, page| number |
|000050b0| 6d 65 72 67 69 6e 67 2c | 20 73 75 62 69 6e 64 65 |merging,| subinde|
|000050c0| 78 69 6e 67 2c 20 73 74 | 79 6c 65 20 68 61 6e 64 |xing, st|yle hand|
|000050d0| 6c 69 6e 67 2c 20 61 6e | 64 20 6f 74 68 65 72 0a |ling, an|d other.|
|000050e0| 73 70 65 63 69 61 6c 20 | 65 66 66 65 63 74 73 2e |special |effects.|
|000050f0| 20 20 49 6e 20 6f 72 64 | 65 72 20 74 6f 20 61 63 | In ord|er to ac|
|00005100| 68 69 65 76 65 20 66 6f | 72 6d 61 74 20 61 6e 64 |hieve fo|rmat and|
|00005110| 20 66 6f 72 6d 61 74 74 | 65 72 20 69 6e 64 65 70 | formatt|er indep|
|00005120| 65 6e 64 65 6e 63 65 2c | 0a 74 68 65 20 69 6e 64 |endence,|.the ind|
|00005130| 65 78 20 70 72 6f 63 65 | 73 73 6f 72 20 6d 75 73 |ex proce|ssor mus|
|00005140| 74 20 62 65 20 61 62 6c | 65 20 74 6f 20 61 63 63 |t be abl|e to acc|
|00005150| 65 70 74 20 72 61 77 20 | 69 6e 64 65 78 0a 74 65 |ept raw |index.te|
|00005160| 72 6d 73 20 64 65 73 69 | 67 6e 61 74 65 64 20 62 |rms desi|gnated b|
|00005170| 79 20 64 69 66 66 65 72 | 65 6e 74 20 6b 65 79 77 |y differ|ent keyw|
|00005180| 6f 72 64 73 20 61 6e 64 | 20 64 65 6c 69 6d 69 74 |ords and| delimit|
|00005190| 65 72 73 2e 0a 4c 69 6b | 65 77 69 73 65 2c 20 69 |ers..Lik|ewise, i|
|000051a0| 74 20 6d 75 73 74 20 62 | 65 20 61 62 6c 65 20 74 |t must b|e able t|
|000051b0| 6f 20 67 65 6e 65 72 61 | 74 65 20 6f 75 74 70 75 |o genera|te outpu|
|000051c0| 74 20 69 6e 20 61 20 73 | 70 65 63 69 66 69 63 20 |t in a s|pecific |
|000051d0| 73 74 79 6c 65 0a 73 6f | 20 74 68 61 74 20 74 68 |style.so| that th|
|000051e0| 65 20 72 65 73 75 6c 74 | 20 63 61 6e 20 62 65 20 |e result| can be |
|000051f0| 70 72 6f 63 65 73 73 65 | 64 20 62 79 20 74 68 65 |processe|d by the|
|00005200| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 66 | corresp|onding f|
|00005210| 6f 72 6d 61 74 74 65 72 | 2e 0a 54 68 65 20 69 6e |ormatter|..The in|
|00005220| 74 65 6e 64 65 64 20 74 | 61 73 6b 73 20 63 61 6e |tended t|asks can|
|00005230| 20 62 65 20 70 65 72 66 | 6f 72 6d 65 64 20 69 6e | be perf|ormed in|
|00005240| 20 6d 75 6c 74 69 70 6c | 65 20 70 61 73 73 65 73 | multipl|e passes|
|00005250| 3a 0a 46 69 72 73 74 20 | 74 68 65 20 69 6e 70 75 |:.First |the inpu|
|00005260| 74 20 66 6f 72 6d 61 74 | 20 66 69 6c 65 20 61 6e |t format| file an|
|00005270| 64 20 6f 75 74 70 75 74 | 20 73 74 79 6c 65 20 66 |d output| style f|
|00005280| 69 6c 65 20 61 72 65 20 | 73 63 61 6e 6e 65 64 20 |ile are |scanned |
|00005290| 61 6e 64 20 61 6e 61 6c | 79 7a 65 64 2e 0a 45 6e |and anal|yzed..En|
|000052a0| 74 72 69 65 73 20 69 6e | 20 74 68 65 20 69 6e 70 |tries in| the inp|
|000052b0| 75 74 20 66 69 6c 65 20 | 61 72 65 20 74 68 65 6e |ut file |are then|
|000052c0| 20 70 72 6f 63 65 73 73 | 65 64 2e 20 20 4e 65 78 | process|ed. Nex|
|000052d0| 74 2c 20 61 6c 6c 20 6c | 65 67 61 6c 20 65 6e 74 |t, all l|egal ent|
|000052e0| 72 69 65 73 20 61 72 65 | 0a 73 6f 72 74 65 64 2e |ries are|.sorted.|
|000052f0| 20 20 46 69 6e 61 6c 6c | 79 2c 20 74 68 65 20 6f | Finall|y, the o|
|00005300| 75 74 70 75 74 20 69 6e | 64 65 78 20 69 73 20 67 |utput in|dex is g|
|00005310| 65 6e 65 72 61 74 65 64 | 20 69 6e 20 74 68 65 20 |enerated| in the |
|00005320| 6c 61 73 74 20 70 61 73 | 73 2e 0a 54 68 65 20 72 |last pas|s..The r|
|00005330| 65 6d 61 69 6e 64 65 72 | 20 6f 66 20 74 68 69 73 |emainder| of this|
|00005340| 20 73 65 63 74 69 6f 6e | 20 64 69 73 63 75 73 73 | section| discuss|
|00005350| 65 73 20 74 68 65 20 65 | 73 73 65 6e 74 69 61 6c |es the e|ssential|
|00005360| 20 61 74 74 72 69 62 75 | 74 65 73 0a 66 6f 72 20 | attribu|tes.for |
|00005370| 69 6e 70 75 74 20 66 6f | 72 6d 61 74 73 20 61 6e |input fo|rmats an|
|00005380| 64 20 6f 75 74 70 75 74 | 20 73 74 79 6c 65 73 20 |d output| styles |
|00005390| 61 6e 64 20 70 6f 69 6e | 74 73 20 6f 75 74 20 72 |and poin|ts out r|
|000053a0| 65 6c 65 76 61 6e 74 20 | 69 73 73 75 65 73 0a 66 |elevant |issues.f|
|000053b0| 6f 72 20 73 6f 72 74 69 | 6e 67 20 61 6e 64 20 67 |or sorti|ng and g|
|000053c0| 65 6e 65 72 61 74 69 6e | 67 20 74 68 65 20 65 6e |eneratin|g the en|
|000053d0| 74 72 69 65 73 2e 0a 0a | 0a 5c 62 65 67 69 6e 7b |tries...|.\begin{|
|000053e0| 74 61 62 6c 65 7d 0a 5c | 62 65 67 69 6e 7b 63 65 |table}.\|begin{ce|
|000053f0| 6e 74 65 72 7d 0a 7b 5c | 73 6d 61 6c 6c 0a 5c 62 |nter}.{\|small.\b|
|00005400| 65 67 69 6e 7b 74 61 62 | 75 6c 61 72 7d 7b 6c 7c |egin{tab|ular}{l||
|00005410| 63 7c 63 7c 6c 7d 0a 5c | 68 6c 69 6e 65 0a 5c 68 |c|c|l}.\|hline.\h|
|00005420| 64 7b 73 70 65 63 69 66 | 69 65 72 7d 20 26 20 5c |d{specif|ier} & \|
|00005430| 68 64 7b 61 74 74 72 69 | 62 75 74 65 7d 20 26 20 |hd{attri|bute} & |
|00005440| 5c 68 64 7b 64 65 66 61 | 75 6c 74 7d 20 26 20 5c |\hd{defa|ult} & \|
|00005450| 68 64 72 7b 6d 65 61 6e | 69 6e 67 7d 20 5c 5c 0a |hdr{mean|ing} \\.|
|00005460| 5c 68 6c 69 6e 65 5c 68 | 6c 69 6e 65 0a 5c 76 65 |\hline\h|line.\ve|
|00005470| 72 62 7c 6b 65 79 77 6f | 72 64 7c 20 20 26 20 7b |rb|keywo|rd| & {|
|00005480| 5c 69 74 20 73 74 72 69 | 6e 67 5c 2f 7d 20 26 20 |\it stri|ng\/} & |
|00005490| 5c 76 65 72 62 7c 22 5c | 5c 69 6e 64 65 78 65 6e |\verb|"\|\indexen|
|000054a0| 74 72 79 22 7c 20 26 0a | 69 6e 64 65 78 20 63 6f |try"| &.|index co|
|000054b0| 6d 6d 61 6e 64 5c 5c 0a | 5c 68 6c 69 6e 65 0a 5c |mmand\\.|\hline.\|
|000054c0| 76 65 72 62 7c 61 72 67 | 5f 6f 70 65 6e 7c 20 20 |verb|arg|_open| |
|000054d0| 26 20 7b 5c 69 74 20 63 | 68 61 72 5c 2f 7d 20 26 |& {\it c|har\/} &|
|000054e0| 20 5c 76 65 72 62 7c 27 | 7b 27 7c 20 26 0a 61 72 | \verb|'|{'| &.ar|
|000054f0| 67 75 6d 65 6e 74 20 6f | 70 65 6e 69 6e 67 20 64 |gument o|pening d|
|00005500| 65 6c 69 6d 69 74 65 72 | 5c 5c 0a 5c 68 6c 69 6e |elimiter|\\.\hlin|
|00005510| 65 0a 5c 76 65 72 62 7c | 61 72 67 5f 63 6c 6f 73 |e.\verb||arg_clos|
|00005520| 65 7c 20 20 26 20 7b 5c | 69 74 20 63 68 61 72 5c |e| & {\|it char\|
|00005530| 2f 7d 20 26 20 5c 76 65 | 72 62 7c 27 7d 27 7c 20 |/} & \ve|rb|'}'| |
|00005540| 26 0a 61 72 67 75 6d 65 | 6e 74 20 63 6c 6f 73 69 |&.argume|nt closi|
|00005550| 6e 67 20 64 65 6c 69 6d | 69 74 65 72 5c 5c 0a 5c |ng delim|iter\\.\|
|00005560| 68 6c 69 6e 65 0a 5c 76 | 65 72 62 7c 72 61 6e 67 |hline.\v|erb|rang|
|00005570| 65 5f 6f 70 65 6e 7c 20 | 20 26 20 7b 5c 69 74 20 |e_open| | & {\it |
|00005580| 63 68 61 72 5c 2f 7d 20 | 26 20 5c 76 65 72 62 7c |char\/} |& \verb||
|00005590| 27 28 27 7c 20 26 0a 70 | 61 67 65 20 72 61 6e 67 |'('| &.p|age rang|
|000055a0| 65 20 6f 70 65 6e 69 6e | 67 20 64 65 6c 69 6d 69 |e openin|g delimi|
|000055b0| 74 65 72 5c 5c 0a 5c 68 | 6c 69 6e 65 0a 5c 76 65 |ter\\.\h|line.\ve|
|000055c0| 72 62 7c 72 61 6e 67 65 | 5f 63 6c 6f 73 65 7c 20 |rb|range|_close| |
|000055d0| 20 26 20 7b 5c 69 74 20 | 63 68 61 72 5c 2f 7d 20 | & {\it |char\/} |
|000055e0| 26 20 5c 76 65 72 62 7c | 27 29 27 7c 20 26 0a 70 |& \verb||')'| &.p|
|000055f0| 61 67 65 20 72 61 6e 67 | 65 20 63 6c 6f 73 69 6e |age rang|e closin|
|00005600| 67 20 64 65 6c 69 6d 69 | 74 65 72 5c 5c 0a 5c 68 |g delimi|ter\\.\h|
|00005610| 6c 69 6e 65 0a 5c 76 65 | 72 62 7c 6c 65 76 65 6c |line.\ve|rb|level|
|00005620| 7c 20 20 26 20 7b 5c 69 | 74 20 63 68 61 72 5c 2f || & {\i|t char\/|
|00005630| 7d 20 26 20 5c 76 65 72 | 62 7c 27 21 27 7c 20 26 |} & \ver|b|'!'| &|
|00005640| 0a 69 6e 64 65 78 20 6c | 65 76 65 6c 20 64 65 6c |.index l|evel del|
|00005650| 69 6d 69 74 65 72 5c 5c | 0a 5c 68 6c 69 6e 65 0a |imiter\\|.\hline.|
|00005660| 5c 76 65 72 62 7c 61 63 | 74 75 61 6c 7c 20 20 26 |\verb|ac|tual| &|
|00005670| 20 7b 5c 69 74 20 63 68 | 61 72 5c 2f 7d 20 26 20 | {\it ch|ar\/} & |
|00005680| 5c 76 65 72 62 7c 27 40 | 27 7c 20 26 0a 61 63 74 |\verb|'@|'| &.act|
|00005690| 75 61 6c 20 6b 65 79 20 | 64 65 73 69 67 6e 61 74 |ual key |designat|
|000056a0| 6f 72 5c 5c 0a 5c 68 6c | 69 6e 65 0a 5c 76 65 72 |or\\.\hl|ine.\ver|
|000056b0| 62 7c 65 6e 63 61 70 7c | 20 20 26 20 7b 5c 69 74 |b|encap|| & {\it|
|000056c0| 20 63 68 61 72 5c 2f 7d | 20 26 20 5c 76 65 72 62 | char\/}| & \verb|
|000056d0| 23 27 7c 27 23 20 26 0a | 70 61 67 65 20 6e 75 6d |#'|'# &.|page num|
|000056e0| 62 65 72 20 65 6e 63 61 | 70 73 75 6c 61 74 6f 72 |ber enca|psulator|
|000056f0| 5c 5c 0a 5c 68 6c 69 6e | 65 0a 5c 76 65 72 62 7c |\\.\hlin|e.\verb||
|00005700| 71 75 6f 74 65 7c 20 20 | 26 20 7b 5c 69 74 20 63 |quote| |& {\it c|
|00005710| 68 61 72 5c 2f 7d 20 26 | 20 5c 76 65 72 62 7c 27 |har\/} &| \verb|'|
|00005720| 22 27 7c 20 26 0a 71 75 | 6f 74 65 20 73 79 6d 62 |"'| &.qu|ote symb|
|00005730| 6f 6c 5c 5c 0a 5c 68 6c | 69 6e 65 0a 5c 76 65 72 |ol\\.\hl|ine.\ver|
|00005740| 62 7c 65 73 63 61 70 65 | 7c 20 20 26 20 7b 5c 69 |b|escape|| & {\i|
|00005750| 74 20 63 68 61 72 5c 2f | 7d 20 26 20 5c 76 65 72 |t char\/|} & \ver|
|00005760| 62 7c 27 5c 5c 27 7c 20 | 26 0a 73 79 6d 62 6f 6c |b|'\\'| |&.symbol|
|00005770| 20 74 68 61 74 20 65 73 | 63 61 70 65 73 20 5c 76 | that es|capes \v|
|00005780| 65 72 62 7c 71 75 6f 74 | 65 7c 5c 5c 0a 5c 68 6c |erb|quot|e|\\.\hl|
|00005790| 69 6e 65 0a 5c 76 65 72 | 62 7c 70 61 67 65 5f 63 |ine.\ver|b|page_c|
|000057a0| 6f 6d 70 6f 73 69 74 6f | 72 7c 20 26 20 20 7b 5c |omposito|r| & {\|
|000057b0| 69 74 20 73 74 72 69 6e | 67 5c 2f 7d 20 26 20 5c |it strin|g\/} & \|
|000057c0| 76 65 72 62 7c 22 2d 22 | 7c 20 26 0a 63 6f 6d 70 |verb|"-"|| &.comp|
|000057d0| 6f 73 69 74 65 20 70 61 | 67 65 20 64 65 6c 69 6d |osite pa|ge delim|
|000057e0| 69 74 65 72 5c 5c 0a 5c | 68 6c 69 6e 65 0a 5c 65 |iter\\.\|hline.\e|
|000057f0| 6e 64 7b 74 61 62 75 6c | 61 72 7d 0a 7d 0a 5c 65 |nd{tabul|ar}.}.\e|
|00005800| 6e 64 7b 63 65 6e 74 65 | 72 7d 0a 5c 63 61 70 74 |nd{cente|r}.\capt|
|00005810| 69 6f 6e 7b 49 6e 70 75 | 74 20 66 6f 72 6d 61 74 |ion{Inpu|t format|
|00005820| 20 70 61 72 61 6d 65 74 | 65 72 73 2e 7d 0a 5c 65 | paramet|ers.}.\e|
|00005830| 6e 64 7b 74 61 62 6c 65 | 7d 0a 0a 5c 73 75 62 73 |nd{table|}..\subs|
|00005840| 65 63 74 69 6f 6e 7b 49 | 6e 70 75 74 20 46 6f 72 |ection{I|nput For|
|00005850| 6d 61 74 7d 0a 54 61 62 | 6c 65 7e 31 20 69 73 20 |mat}.Tab|le~1 is |
|00005860| 61 20 73 75 6d 6d 61 72 | 79 20 6f 66 20 74 68 65 |a summar|y of the|
|00005870| 20 69 6e 70 75 74 20 66 | 6f 72 6d 61 74 20 74 68 | input f|ormat th|
|00005880| 61 74 20 63 6f 6e 73 69 | 73 74 73 20 6f 66 20 61 |at consi|sts of a|
|00005890| 20 6c 69 73 74 0a 6f 66 | 20 5c 76 65 72 62 7c 3c | list.of| \verb|<|
|000058a0| 7c 7b 5c 69 74 20 73 70 | 65 63 69 66 69 65 72 5c ||{\it sp|ecifier\|
|000058b0| 2f 7d 2c 20 7b 5c 69 74 | 20 61 74 74 72 69 62 75 |/}, {\it| attribu|
|000058c0| 74 65 5c 2f 7d 5c 76 65 | 72 62 7c 3e 7c 20 70 61 |te\/}\ve|rb|>| pa|
|000058d0| 69 72 73 2e 0a 54 68 65 | 73 65 20 61 74 74 72 69 |irs..The|se attri|
|000058e0| 62 75 74 65 73 0a 61 72 | 65 20 74 68 65 20 65 73 |butes.ar|e the es|
|000058f0| 73 65 6e 74 69 61 6c 20 | 74 6f 6b 65 6e 73 20 61 |sential |tokens a|
|00005900| 6e 64 20 64 65 6c 69 6d | 69 74 65 72 73 20 6e 65 |nd delim|iters ne|
|00005910| 65 64 65 64 20 69 6e 20 | 73 63 61 6e 6e 69 6e 67 |eded in |scanning|
|00005920| 20 74 68 65 0a 69 6e 70 | 75 74 20 69 6e 64 65 78 | the.inp|ut index|
|00005930| 20 66 69 6c 65 2e 20 20 | 44 65 66 61 75 6c 74 20 | file. |Default |
|00005940| 73 74 72 69 6e 67 20 63 | 6f 6e 73 74 61 6e 74 73 |string c|onstants|
|00005950| 20 61 72 65 20 65 6e 63 | 6c 6f 73 65 64 20 69 6e | are enc|losed in|
|00005960| 0a 64 6f 75 62 6c 65 20 | 71 75 6f 74 65 73 20 28 |.double |quotes (|
|00005970| 5c 76 65 72 62 7c 22 2e | 2e 2e 22 7c 29 20 61 6e |\verb|".|.."|) an|
|00005980| 64 20 63 68 61 72 61 63 | 74 65 72 20 63 6f 6e 73 |d charac|ter cons|
|00005990| 74 61 6e 74 73 20 61 72 | 65 0a 69 6e 20 73 69 6e |tants ar|e.in sin|
|000059a0| 67 6c 65 20 71 75 6f 74 | 65 73 20 28 5c 76 65 72 |gle quot|es (\ver|
|000059b0| 62 7c 27 78 27 7c 29 2e | 20 20 54 68 65 20 75 73 |b|'x'|).| The us|
|000059c0| 65 72 20 63 61 6e 20 6f | 76 65 72 72 69 64 65 0a |er can o|verride.|
|000059d0| 74 68 65 20 64 65 66 61 | 75 6c 74 20 76 61 6c 75 |the defa|ult valu|
|000059e0| 65 20 62 79 20 73 70 65 | 63 69 66 79 69 6e 67 20 |e by spe|cifying |
|000059f0| 61 20 73 70 65 63 69 66 | 69 65 72 20 61 6e 64 20 |a specif|ier and |
|00005a00| 61 20 6e 65 77 20 61 74 | 74 72 69 62 75 74 65 0a |a new at|tribute.|
|00005a10| 69 6e 20 74 68 65 20 66 | 6f 72 6d 61 74 20 66 69 |in the f|ormat fi|
|00005a20| 6c 65 20 6f 72 20 70 72 | 6f 70 65 72 74 79 20 73 |le or pr|operty s|
|00005a30| 68 65 65 74 2e 0a 54 68 | 65 20 61 74 74 72 69 62 |heet..Th|e attrib|
|00005a40| 75 74 65 20 6f 66 20 5c | 76 65 72 62 7c 6b 65 79 |ute of \|verb|key|
|00005a50| 77 6f 72 64 7c 20 69 73 | 20 73 65 6c 66 2d 65 78 |word| is| self-ex|
|00005a60| 70 6c 61 6e 61 74 6f 72 | 79 3b 0a 5c 76 65 72 62 |planator|y;.\verb|
|00005a70| 7c 61 72 67 5f 6f 70 65 | 6e 7c 20 61 6e 64 20 5c ||arg_ope|n| and \|
|00005a80| 76 65 72 62 7c 61 72 67 | 5f 63 6c 6f 73 65 7c 20 |verb|arg|_close| |
|00005a90| 64 65 6e 6f 74 65 20 74 | 68 65 20 61 72 67 75 6d |denote t|he argum|
|00005aa0| 65 6e 74 20 6f 70 65 6e | 69 6e 67 20 61 6e 64 0a |ent open|ing and.|
|00005ab0| 63 6c 6f 73 69 6e 67 20 | 64 65 6c 69 6d 69 74 65 |closing |delimite|
|00005ac0| 72 73 2c 20 72 65 73 70 | 65 63 74 69 76 65 6c 79 |rs, resp|ectively|
|00005ad0| 2e 0a 54 68 65 20 6d 65 | 61 6e 69 6e 67 73 20 6f |..The me|anings o|
|00005ae0| 66 20 73 70 65 63 69 61 | 6c 20 6f 70 65 72 61 74 |f specia|l operat|
|00005af0| 6f 72 73 20 73 75 63 68 | 20 61 73 20 5c 76 65 72 |ors such| as \ver|
|00005b00| 62 7c 6c 65 76 65 6c 7c | 2c 0a 5c 76 65 72 62 7c |b|level||,.\verb||
|00005b10| 61 63 74 75 61 6c 7c 2c | 20 61 6e 64 20 5c 76 65 |actual|,| and \ve|
|00005b20| 72 62 7c 65 6e 63 61 70 | 7c 20 61 72 65 20 64 65 |rb|encap|| are de|
|00005b30| 73 63 72 69 62 65 64 20 | 61 62 6f 76 65 2e 0a 0a |scribed |above...|
|00005b40| 54 68 65 20 74 77 6f 20 | 72 61 6e 67 65 20 64 65 |The two |range de|
|00005b50| 6c 69 6d 69 74 65 72 73 | 20 5c 76 65 72 62 7c 72 |limiters| \verb|r|
|00005b60| 61 6e 67 65 5f 6f 70 65 | 6e 7c 20 61 6e 64 20 5c |ange_ope|n| and \|
|00005b70| 76 65 72 62 7c 72 61 6e | 67 65 5f 63 6c 6f 73 65 |verb|ran|ge_close|
|00005b80| 7c 20 61 72 65 0a 75 73 | 65 64 20 77 69 74 68 20 || are.us|ed with |
|00005b90| 74 68 65 20 5c 76 65 72 | 62 7c 65 6e 63 61 70 7c |the \ver|b|encap||
|00005ba0| 20 6f 70 65 72 61 74 6f | 72 2e 0a 57 68 65 6e 20 | operato|r..When |
|00005bb0| 5c 76 65 72 62 7c 72 61 | 6e 67 65 5f 6f 70 65 6e |\verb|ra|nge_open|
|00005bc0| 7c 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 66 6f || immedi|ately fo|
|00005bd0| 6c 6c 6f 77 73 20 5c 76 | 65 72 62 7c 65 6e 63 61 |llows \v|erb|enca|
|00005be0| 70 7c 0a 28 69 2e 65 2e | 2c 20 5c 76 65 72 62 23 |p|.(i.e.|, \verb#|
|00005bf0| 5c 69 6e 64 65 78 7b 2e | 2e 2e 7c 28 2e 2e 2e 7d |\index{.|..|(...}|
|00005c00| 23 29 2c 0a 69 74 20 74 | 65 6c 6c 73 20 74 68 65 |#),.it t|ells the|
|00005c10| 20 69 6e 64 65 78 20 70 | 72 6f 63 65 73 73 6f 72 | index p|rocessor|
|00005c20| 20 74 68 61 74 20 61 6e | 20 65 78 70 6c 69 63 69 | that an| explici|
|00005c30| 74 20 72 61 6e 67 65 20 | 69 73 20 73 74 61 72 74 |t range |is start|
|00005c40| 69 6e 67 2e 0a 43 6f 6e | 76 65 72 73 65 6c 79 20 |ing..Con|versely |
|00005c50| 5c 76 65 72 62 7c 72 61 | 6e 67 65 5f 63 6c 6f 73 |\verb|ra|nge_clos|
|00005c60| 65 7c 20 73 69 67 6e 61 | 6c 73 20 74 68 65 20 63 |e| signa|ls the c|
|00005c70| 6c 6f 73 69 6e 67 20 6f | 66 20 61 20 72 61 6e 67 |losing o|f a rang|
|00005c80| 65 2e 0a 49 6e 20 6f 75 | 72 20 64 65 73 69 67 6e |e..In ou|r design|
|00005c90| 2c 20 74 68 72 65 65 20 | 6f 72 20 6d 6f 72 65 20 |, three |or more |
|00005ca0| 73 75 63 63 65 73 73 69 | 76 65 20 70 61 67 65 20 |successi|ve page |
|00005cb0| 6e 75 6d 62 65 72 73 20 | 61 72 65 20 61 62 62 72 |numbers |are abbr|
|00005cc0| 65 76 69 61 74 65 64 20 | 61 73 0a 61 20 72 61 6e |eviated |as.a ran|
|00005cd0| 67 65 20 69 6d 70 6c 69 | 63 69 74 6c 79 2e 20 20 |ge impli|citly. |
|00005ce0| 54 68 69 73 20 7b 5c 69 | 74 20 69 6d 70 6c 69 63 |This {\i|t implic|
|00005cf0| 69 74 5c 2f 7d 20 72 61 | 6e 67 65 20 66 6f 72 6d |it\/} ra|nge form|
|00005d00| 61 74 69 6f 6e 20 63 61 | 6e 20 62 65 20 74 75 72 |ation ca|n be tur|
|00005d10| 6e 65 64 0a 6f 66 66 20 | 69 66 20 61 6e 20 69 6e |ned.off |if an in|
|00005d20| 64 65 78 65 64 20 74 65 | 72 6d 20 72 65 70 72 65 |dexed te|rm repre|
|00005d30| 73 65 6e 74 73 20 6c 6f | 67 69 63 61 6c 6c 79 20 |sents lo|gically |
|00005d40| 64 69 73 74 69 6e 63 74 | 20 63 6f 6e 63 65 70 74 |distinct| concept|
|00005d50| 73 20 69 6e 20 64 69 66 | 66 65 72 65 6e 74 0a 70 |s in dif|ferent.p|
|00005d60| 61 67 65 73 2e 20 20 57 | 68 65 6e 20 74 68 65 20 |ages. W|hen the |
|00005d70| 69 6d 70 6c 69 63 69 74 | 20 72 61 6e 67 65 20 69 |implicit| range i|
|00005d80| 73 20 64 69 73 61 62 6c | 65 64 2c 20 7b 5c 69 74 |s disabl|ed, {\it|
|00005d90| 20 65 78 70 6c 69 63 69 | 74 5c 2f 7d 20 70 61 67 | explici|t\/} pag|
|00005da0| 65 20 72 61 6e 67 65 73 | 0a 63 61 6e 20 62 65 20 |e ranges|.can be |
|00005db0| 65 6e 66 6f 72 63 65 64 | 20 62 79 20 75 73 69 6e |enforced| by usin|
|00005dc0| 67 20 74 68 65 20 74 77 | 6f 20 72 61 6e 67 65 20 |g the tw|o range |
|00005dd0| 64 65 6c 69 6d 69 74 65 | 72 73 0a 5c 76 65 72 62 |delimite|rs.\verb|
|00005de0| 7c 72 61 6e 67 65 5f 6f | 70 65 6e 7c 20 61 6e 64 ||range_o|pen| and|
|00005df0| 20 5c 76 65 72 62 7c 72 | 61 6e 67 65 5f 63 6c 6f | \verb|r|ange_clo|
|00005e00| 73 65 7c 2e 0a 54 68 65 | 72 65 66 6f 72 65 2c 20 |se|..The|refore, |
|00005e10| 69 74 20 69 73 20 70 6f | 73 73 69 62 6c 65 20 74 |it is po|ssible t|
|00005e20| 6f 20 69 6e 64 65 78 20 | 61 6e 20 65 6e 74 69 72 |o index |an entir|
|00005e30| 65 20 73 65 63 74 69 6f | 6e 20 6f 72 20 61 20 6c |e sectio|n or a l|
|00005e40| 61 72 67 65 20 70 69 65 | 63 65 0a 6f 66 20 74 65 |arge pie|ce.of te|
|00005e50| 78 74 20 72 65 6c 61 74 | 65 64 20 74 6f 20 61 20 |xt relat|ed to a |
|00005e60| 63 65 72 74 61 69 6e 20 | 63 6f 6e 63 65 70 74 20 |certain |concept |
|00005e70| 77 69 74 68 6f 75 74 20 | 68 61 76 69 6e 67 20 74 |without |having t|
|00005e80| 6f 20 69 6e 73 65 72 74 | 20 61 6e 20 69 6e 64 65 |o insert| an inde|
|00005e90| 78 0a 63 6f 6d 6d 61 6e | 64 20 69 6e 20 65 76 65 |x.comman|d in eve|
|00005ea0| 72 79 20 73 69 6e 67 6c | 65 20 70 61 67 65 2e 0a |ry singl|e page..|
|00005eb0| 0a 54 68 65 20 5c 76 65 | 72 62 7c 71 75 6f 74 65 |.The \ve|rb|quote|
|00005ec0| 7c 20 6f 70 65 72 61 74 | 6f 72 20 69 73 20 75 73 || operat|or is us|
|00005ed0| 65 64 20 74 6f 20 65 73 | 63 61 70 65 20 73 79 6d |ed to es|cape sym|
|00005ee0| 62 6f 6c 73 2e 0a 54 68 | 75 73 20 5c 76 65 72 62 |bols..Th|us \verb|
|00005ef0| 7c 5c 69 6e 64 65 78 7b | 66 6f 6f 22 40 67 6f 6f ||\index{|foo"@goo|
|00005f00| 7d 7c 20 6d 65 61 6e 73 | 20 61 20 73 6f 72 74 20 |}| means| a sort |
|00005f10| 6b 65 79 20 6f 66 20 5c | 76 65 72 62 7c 66 6f 6f |key of \|verb|foo|
|00005f20| 40 67 6f 6f 7c 20 0a 72 | 61 74 68 65 72 20 74 68 |@goo| .r|ather th|
|00005f30| 61 6e 20 61 20 73 6f 72 | 74 20 6b 65 79 20 6f 66 |an a sor|t key of|
|00005f40| 20 5c 76 65 72 62 7c 66 | 6f 6f 22 7c 20 61 6e 64 | \verb|f|oo"| and|
|00005f50| 20 61 6e 20 61 63 74 75 | 61 6c 20 6b 65 79 20 6f | an actu|al key o|
|00005f60| 66 20 5c 76 65 72 62 7c | 67 6f 6f 7c 2e 0a 41 73 |f \verb||goo|..As|
|00005f70| 20 61 6e 20 65 78 63 65 | 70 74 69 6f 6e 2c 20 5c | an exce|ption, \|
|00005f80| 76 65 72 62 7c 71 75 6f | 74 65 7c 2c 20 77 68 65 |verb|quo|te|, whe|
|00005f90| 6e 20 70 72 65 63 65 64 | 65 64 20 62 79 20 5c 76 |n preced|ed by \v|
|00005fa0| 65 72 62 7c 65 73 63 61 | 70 65 7c 20 28 69 2e 65 |erb|esca|pe| (i.e|
|00005fb0| 2e 0a 5c 76 65 72 62 7c | 5c 69 6e 64 65 78 7b 2e |..\verb||\index{.|
|00005fc0| 2e 2e 5c 22 2e 2e 2e 7d | 7c 29 2c 20 64 6f 65 73 |..\"...}||), does|
|00005fd0| 20 6e 6f 74 20 65 73 63 | 61 70 65 20 69 74 73 20 | not esc|ape its |
|00005fe0| 73 75 63 63 65 65 64 69 | 6e 67 20 6c 65 74 74 65 |succeedi|ng lette|
|00005ff0| 72 2e 0a 54 68 69 73 20 | 73 70 65 63 69 61 6c 20 |r..This |special |
|00006000| 63 61 73 65 20 69 73 20 | 69 6e 63 6c 75 64 65 64 |case is |included|
|00006010| 20 62 65 63 61 75 73 65 | 20 5c 76 65 72 62 7c 5c | because| \verb|\|
|00006020| 22 7c 20 69 73 20 74 68 | 65 20 75 6d 6c 61 75 74 |"| is th|e umlaut|
|00006030| 0a 63 6f 6d 6d 61 6e 64 | 20 69 6e 20 7b 5c 54 65 |.command| in {\Te|
|00006040| 58 7d 2e 20 20 52 65 71 | 75 69 72 69 6e 67 20 5c |X}. Req|uiring \|
|00006050| 76 65 72 62 7c 71 75 6f | 74 65 7c 20 69 74 73 65 |verb|quo|te| itse|
|00006060| 6c 66 20 74 6f 20 62 65 | 20 71 75 6f 74 65 64 0a |lf to be| quoted.|
|00006070| 69 6e 20 74 68 69 73 20 | 63 61 73 65 20 28 69 2e |in this |case (i.|
|00006080| 65 2e 20 5c 76 65 72 62 | 7c 5c 22 22 7c 29 20 69 |e. \verb||\""|) i|
|00006090| 73 20 66 65 61 73 69 62 | 6c 65 20 62 75 74 20 73 |s feasib|le but s|
|000060a0| 6f 6d 65 77 68 61 74 20 | 61 77 6b 77 61 72 64 3b |omewhat |awkward;|
|000060b0| 0a 5c 76 65 72 62 7c 71 | 75 6f 74 65 7c 20 61 6e |.\verb|q|uote| an|
|000060c0| 64 20 5c 76 65 72 62 7c | 65 73 63 61 70 65 7c 20 |d \verb||escape| |
|000060d0| 6d 75 73 74 20 62 65 20 | 64 69 73 74 69 6e 63 74 |must be |distinct|
|000060e0| 2e 0a 0a 41 20 70 61 67 | 65 20 6e 75 6d 62 65 72 |...A pag|e number|
|000060f0| 20 63 61 6e 20 62 65 20 | 61 20 63 6f 6d 70 6f 73 | can be |a compos|
|00006100| 69 74 65 20 6f 66 20 6f | 6e 65 20 6f 72 20 6d 6f |ite of o|ne or mo|
|00006110| 72 65 20 66 69 65 6c 64 | 73 0a 73 65 70 61 72 61 |re field|s.separa|
|00006120| 74 65 64 20 62 79 20 74 | 68 65 20 64 65 6c 69 6d |ted by t|he delim|
|00006130| 69 74 65 72 20 62 6f 75 | 6e 64 20 74 6f 20 5c 76 |iter bou|nd to \v|
|00006140| 65 72 62 7c 70 61 67 65 | 5f 63 6f 6d 70 6f 73 69 |erb|page|_composi|
|00006150| 74 6f 72 7c 0a 28 65 2e | 67 2e 2c 20 49 49 2d 31 |tor|.(e.|g., II-1|
|00006160| 32 20 66 6f 72 20 70 61 | 67 65 20 31 32 20 6f 66 |2 for pa|ge 12 of|
|00006170| 20 43 68 61 70 74 65 72 | 20 49 49 29 2e 0a 54 68 | Chapter| II)..Th|
|00006180| 69 73 20 61 74 74 72 69 | 62 75 74 65 20 61 6c 6c |is attri|bute all|
|00006190| 6f 77 73 20 74 68 65 20 | 6c 65 78 69 63 61 6c 20 |ows the |lexical |
|000061a0| 61 6e 61 6c 79 7a 65 72 | 20 74 6f 20 73 65 70 61 |analyzer| to sepa|
|000061b0| 72 61 74 65 20 0a 74 68 | 65 73 65 20 66 69 65 6c |rate .th|ese fiel|
|000061c0| 64 73 2c 20 73 69 6d 70 | 6c 69 66 79 69 6e 67 20 |ds, simp|lifying |
|000061d0| 74 68 65 20 73 6f 72 74 | 69 6e 67 20 6f 66 20 70 |the sort|ing of p|
|000061e0| 61 67 65 20 6e 75 6d 62 | 65 72 73 2e 0a 0a 5c 73 |age numb|ers...\s|
|000061f0| 75 62 73 65 63 74 69 6f | 6e 7b 4f 75 74 70 75 74 |ubsectio|n{Output|
|00006200| 20 53 74 79 6c 65 7d 0a | 54 61 62 6c 65 7e 32 20 | Style}.|Table~2 |
|00006210| 73 75 6d 6d 61 72 69 7a | 65 73 20 74 68 65 20 6f |summariz|es the o|
|00006220| 75 74 70 75 74 20 73 74 | 79 6c 65 20 70 61 72 61 |utput st|yle para|
|00006230| 6d 65 74 65 72 73 2e 20 | 20 41 67 61 69 6e 2c 20 |meters. | Again, |
|00006240| 69 74 20 69 73 20 61 20 | 6c 69 73 74 0a 6f 66 20 |it is a |list.of |
|00006250| 5c 76 65 72 62 7c 3c 7c | 7b 5c 69 74 20 73 70 65 |\verb|<||{\it spe|
|00006260| 63 69 66 69 65 72 5c 2f | 7d 2c 20 7b 5c 69 74 20 |cifier\/|}, {\it |
|00006270| 61 74 74 72 69 62 75 74 | 65 5c 2f 7d 5c 76 65 72 |attribut|e\/}\ver|
|00006280| 62 7c 3e 7c 20 70 61 69 | 72 73 2e 0a 49 6e 20 74 |b|>| pai|rs..In t|
|00006290| 68 65 20 64 65 66 61 75 | 6c 74 20 63 6f 6c 75 6d |he defau|lt colum|
|000062a0| 6e 2c 20 60 5c 76 65 72 | 62 7c 5c 6e 7c 27 20 61 |n, `\ver|b|\n|' a|
|000062b0| 6e 64 20 60 5c 76 65 72 | 62 7c 5c 74 7c 27 20 64 |nd `\ver|b|\t|' d|
|000062c0| 65 6e 6f 74 65 20 61 20 | 6e 65 77 20 6c 69 6e 65 |enote a |new line|
|000062d0| 0a 61 6e 64 20 61 20 74 | 61 62 2c 20 72 65 73 70 |.and a t|ab, resp|
|000062e0| 65 63 74 69 76 65 6c 79 | 2e 20 20 54 68 65 73 65 |ectively|. These|
|000062f0| 20 70 61 72 61 6d 65 74 | 65 72 73 20 63 61 6e 20 | paramet|ers can |
|00006300| 62 65 20 66 75 72 74 68 | 65 72 20 64 69 76 69 64 |be furth|er divid|
|00006310| 65 64 20 69 6e 74 6f 0a | 74 68 65 20 66 6f 6c 6c |ed into.|the foll|
|00006320| 6f 77 69 6e 67 20 67 72 | 6f 75 70 73 3a 0a 0a 5c |owing gr|oups:..\|
|00006330| 62 65 67 69 6e 7b 74 61 | 62 6c 65 7d 0a 5c 62 65 |begin{ta|ble}.\be|
|00006340| 67 69 6e 7b 63 65 6e 74 | 65 72 7d 0a 7b 5c 73 6d |gin{cent|er}.{\sm|
|00006350| 61 6c 6c 0a 5c 62 65 67 | 69 6e 7b 74 61 62 75 6c |all.\beg|in{tabul|
|00006360| 61 72 7d 7b 6c 7c 63 7c | 6c 7c 6c 7d 0a 5c 68 6c |ar}{l|c||l|l}.\hl|
|00006370| 69 6e 65 0a 5c 68 64 7b | 73 70 65 63 69 66 69 65 |ine.\hd{|specifie|
|00006380| 72 7d 20 26 20 5c 68 64 | 7b 61 74 74 72 69 62 75 |r} & \hd|{attribu|
|00006390| 74 65 7d 20 26 20 5c 68 | 64 7b 64 65 66 61 75 6c |te} & \h|d{defaul|
|000063a0| 74 7d 20 26 20 5c 68 64 | 72 7b 6d 65 61 6e 69 6e |t} & \hd|r{meanin|
|000063b0| 67 7d 20 5c 5c 0a 5c 68 | 6c 69 6e 65 5c 68 6c 69 |g} \\.\h|line\hli|
|000063c0| 6e 65 0a 5c 76 65 72 62 | 7c 70 72 65 61 6d 62 6c |ne.\verb||preambl|
|000063d0| 65 7c 20 26 20 20 7b 5c | 69 74 20 73 74 72 69 6e |e| & {\|it strin|
|000063e0| 67 5c 2f 7d 20 26 20 5c | 76 65 72 62 7c 22 5c 5c |g\/} & \|verb|"\\|
|000063f0| 62 65 67 69 6e 7b 74 68 | 65 69 6e 64 65 78 7d 5c |begin{th|eindex}\|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.